[Parted-commits] GNU Parted Official Repository: Changes to 'stable-1.8.x'

Otavio Salvador otavio at alioth.debian.org
Wed May 30 03:24:21 UTC 2007


 parted/table.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 06fa53779e87b28956a88bd30e200ea5aeaa3472
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Wed May 30 00:17:43 2007 -0300

    parted/table.c: Fix a warning when compiling with translation support
    
    ,----[ Output when compiling with translation support ]
    |...
    | table.c: In function 'table_add_row_from_strlist':
    | table.c:168: warning: implicit declaration of function 'wcsdup'
    | table.c:168: warning: assignment makes pointer from integer without a cast
    `----
    
    Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
    (cherry picked from commit 79fb9008cb516e8a227455d725b2f24a3aa1d37e)

diff --git a/parted/table.c b/parted/table.c
index befb045..c878f60 100644
--- a/parted/table.c
+++ b/parted/table.c
@@ -32,6 +32,7 @@
 #ifdef ENABLE_NLS
 #       include <wchar.h>
         int wcswidth (const wchar_t *s, size_t n);
+        wchar_t *wcsdup(const wchar_t *s);
 #	define L_(str) L##str
 #else
 #	define L_(str) str



More information about the Parted-commits mailing list