mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-16 18:10:11 +00:00
c19559b0bc
* include/aio.h: Remove __THROW from internal interfaces. __THROW is only need in external header files that might be compiled by a C++ compiler. * include/alloca.h: Likewise. * include/db.h: Likewise. * include/dirent.h: Likewise. * include/execinfo.h: Likewise. * include/fpu_control.h: Likewise. * include/glob.h: Likewise. * include/grp.h: Likewise. * include/libintl.h: Likewise. * include/math.h: Likewise. * include/math.h: Likewise. * include/mntent.h: Likewise. * include/mntent.h: Likewise. * include/netdb.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. * include/shadow.h: Likewise. * include/stdlib.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/socket.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/sysinfo.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. * include/sys/uio.h: Likewise. * include/sys/wait.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. 1999-11-22 Andreas Jaeger <aj@suse.de> * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output. Patch by Jerry Perkins <jrperkins@iname.com>, closes PR libc/1456+1457. 1999-11-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/siglist.h: Avoid declaring the same field twice if SIGPWR is defined to SIGLOST. * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument, not signed, so we should not special case it for negative args. * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic memmove, use the one provided in memcpy.S. * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping copies like memmove, while the previous version worked like memcpy. Implement optimized assembly memmove. * sysdeps/sparc/sparc64/memmove.c: New file. 1999-11-23 Ulrich Drepper <drepper@cygnus.com> * po/cs.po: Update from translators. 1999-11-23 Andreas Jaeger <aj@suse.de>
33 lines
1.1 KiB
C
33 lines
1.1 KiB
C
#ifndef _LIBINTL_H
|
|
#include <intl/libintl.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern char *__gettext (__const char *__msgid);
|
|
extern char *__dgettext (__const char *__domainname,
|
|
__const char *__msgid);
|
|
extern char *__dcgettext (__const char *__domainname,
|
|
__const char *__msgid, int __category);
|
|
extern char *__textdomain (__const char *__domainname);
|
|
extern char *__bindtextdomain (__const char *__domainname,
|
|
__const char *__dirname);
|
|
extern const char _libc_intl_domainname[];
|
|
|
|
/* Define the macros `_' and `N_' for conveniently marking translatable
|
|
strings in the libc source code. We have to make sure we get the
|
|
correct definitions so we undefine the macros first. */
|
|
|
|
# undef N_
|
|
# define N_(msgid) msgid
|
|
|
|
# undef _
|
|
# ifdef dgettext
|
|
/* This is defined as an optimizing macro, so use it. */
|
|
# define _(msgid) dgettext (_libc_intl_domainname, (msgid))
|
|
# else
|
|
/* Be sure to use only the __ name when `dgettext' is a plain function
|
|
instead of an optimizing macro. */
|
|
# define _(msgid) __dgettext (_libc_intl_domainname, (msgid))
|
|
# endif
|
|
|
|
#endif
|