[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Wed May 30 13:50:47 UTC 2007


 parted/table.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit ba61a9dd4495561bdc827ac8f9108bbdda68fdb8
Author: Jim Meyering <jim at meyering.net>
Date:   Wed May 30 15:40:50 2007 +0200

    Fix configure-with-nls vs. wchar.h/wcsdup problem differently.
    * parted/table.c: Include <config.h> *before* all other #include
    directives.  Remove explicit declaration of wcsdup.  Now, we'll
    get the one from <wchar.h>.

diff --git a/parted/table.c b/parted/table.c
index c878f60..1301549 100644
--- a/parted/table.c
+++ b/parted/table.c
@@ -21,18 +21,17 @@
 */
 
 
+#include <config.h>
 
 #include <stdio.h>
 #include <stdlib.h>
 
 #include <assert.h>
 
-#include <config.h>
 
 #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