]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix a warning on Solaris.
authorBruno Haible <bruno@clisp.org>
Thu, 4 Sep 2003 20:58:51 +0000 (20:58 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:10:57 +0000 (12:10 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/dgettext.c
gettext-runtime/intl/dngettext.c

index 4bc99ac38da480ebf60dc6ed337269235ce072d9..426f63a06f982206c59f4059f23d52690c0b5f0c 100644 (file)
@@ -1,3 +1,10 @@
+2003-09-04  Bruno Haible  <bruno@clisp.org>
+
+       * dgettext.c: Include <locale.h> after gettextP.h, not before. This
+       ensures that libintl_dcgettext is correctly declared on Solaris.
+       (Needed because Solaris <locale.h> includes libintl.h.)
+       * dngettext.c: Likewise, for the libintl_dcngettext declaration.
+
 2003-08-29  Bruno Haible  <bruno@clisp.org>
 
        * vasnprintf.c: Test HAVE_DECL__SNPRINTF instead of HAVE__SNPRINTF.
index cf5b4037f07c6f9346c0809c53e1cdfb2cfb1f21..737e420554fd9505c98c2a5051b65c22faaa298a 100644 (file)
@@ -1,5 +1,5 @@
 /* Implementation of the dgettext(3) function.
-   Copyright (C) 1995-1997, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
 # include <config.h>
 #endif
 
+#include "gettextP.h"
+
 #include <locale.h>
 
-#include "gettextP.h"
 #ifdef _LIBC
 # include <libintl.h>
 #else
index 67fd030f255fc9efc322b5e3db5c050cab46b180..4101c28366d77c970bca25b4d23bab6af6dfe28a 100644 (file)
@@ -1,5 +1,5 @@
 /* Implementation of the dngettext(3) function.
-   Copyright (C) 1995-1997, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright (C) 1995-1997, 2000-2003 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU Library General Public License as published
 # include <config.h>
 #endif
 
+#include "gettextP.h"
+
 #include <locale.h>
 
-#include "gettextP.h"
 #ifdef _LIBC
 # include <libintl.h>
 #else