[Parted-commits] GNU Parted Official Repository: Changes to 'master'
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 79fb9008cb516e8a227455d725b2f24a3aa1d37e
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>
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