This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

intl patches (6)


This adds declarations needed in the gettext package. No effect inside glibc.


2002-12-11  Bruno Haible  <bruno@clisp.org>

	* intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration.
	* intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration.

--- glibc-20021126/intl/gettextP.h.bak	Mon Jul 29 14:31:01 2002
+++ glibc-20021126/intl/gettextP.h	Wed Dec 11 15:25:06 2002
@@ -157,6 +161,10 @@
    This variable is part of the external ABI of the GNU libintl.  */
 extern int _nl_msg_cat_cntr;
 
+#ifndef _LIBC
+const char *_nl_locale_name PARAMS ((int category, const char *categoryname));
+#endif
+
 struct loaded_l10nfile *_nl_find_domain PARAMS ((const char *__dirname,
 						 char *__locale,
 						 const char *__domainname,
--- glibc-20021126/intl/plural-exp.h.bak	Thu Apr  4 20:11:22 2002
+++ glibc-20021126/intl/plural-exp.h	Wed Dec 11 15:36:03 2002
@@ -119,4 +119,9 @@
 					       unsigned long int *npluralsp))
      internal_function;
 
+#if !defined (_LIBC) && !defined (IN_LIBINTL)
+extern unsigned long int plural_eval PARAMS ((struct expression *pexp,
+					      unsigned long int n));
+#endif
+
 #endif /* _PLURAL_EXP_H */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]