From: Bruno Haible Date: Fri, 28 Nov 2003 20:33:48 +0000 (+0000) Subject: Make it compile with MSVC. X-Git-Tag: v0.13~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c8eba11c3884d5012c5b0995518c88b6db773f9;p=thirdparty%2Fgettext.git Make it compile with MSVC. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index d91befa2b..40a2149ad 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-11-28 Bruno Haible + + * Makefile.msvc (OBJECTS): Fix typo. + * wait-process.c (cleanup_slaves): Use ANSI C declaration. + 2003-11-27 Bruno Haible * wait-process.c: On Windows, include windows.h. Needed on mingw. diff --git a/gettext-tools/lib/Makefile.msvc b/gettext-tools/lib/Makefile.msvc index 536df53e6..3e22de864 100644 --- a/gettext-tools/lib/Makefile.msvc +++ b/gettext-tools/lib/Makefile.msvc @@ -113,7 +113,7 @@ OBJECTS = \ strtoul.obj \ tmpdir.obj \ wait-process.obj \ - xalloc.obj xstrdup.obj \ + xmalloc.obj xstrdup.obj \ xerror.obj \ xsetenv.obj \ \ diff --git a/gettext-tools/lib/wait-process.c b/gettext-tools/lib/wait-process.c index adb1be04a..9c042b3b4 100644 --- a/gettext-tools/lib/wait-process.c +++ b/gettext-tools/lib/wait-process.c @@ -143,7 +143,7 @@ static size_t slaves_allocated = SIZEOF (static_slaves); /* The cleanup action. It gets called asynchronously. */ static void -cleanup_slaves () +cleanup_slaves (void) { for (;;) {