diff options
author | Roland McGrath <roland@gnu.org> | 1996-06-06 06:05:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-06-06 06:05:11 +0000 |
commit | 92f3773b4c90ee2752ff391b7b6081eea10b4bca (patch) | |
tree | 6dba2592f058a82dc1d576c12e6b0d368ee1ff95 /intl/finddomain.c | |
parent | 8f30ca23f7c7d9181fc532be00e22da67e38a0bf (diff) | |
download | glibc-92f3773b4c90ee2752ff391b7b6081eea10b4bca.tar.gz |
Thu Jun 6 02:00:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>cvs/libc-960606
* Makerules (distinfo-vars): Don't write constant line to frob sources.
* Make-dist (sources): Append $(elided-routines) and $(extra-libs)
routines.
Diffstat (limited to 'intl/finddomain.c')
-rw-r--r-- | intl/finddomain.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/intl/finddomain.c b/intl/finddomain.c index bb4609e864..47bd0ab9f7 100644 --- a/intl/finddomain.c +++ b/intl/finddomain.c @@ -1,6 +1,9 @@ /* finddomain.c -- handle list of needed message catalogs -Copyright (C) 1995, 1996 Free Software Foundation, Inc. -Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. + Copyright (C) 1995, 1996 Free Software Foundation, Inc. + Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. + +This file is part of the GNU C Library. Its master source is NOT part of +the C library, however. The master source lives in /gd/gnu/lib. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -14,8 +17,8 @@ Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +not, write to the Free Software Foundation, Inc., 675 Mass Ave, +Cambridge, MA 02139, USA. */ #ifdef HAVE_CONFIG_H # include <config.h> @@ -66,17 +69,15 @@ void free (); because some ANSI C functions will require linking with this object file and the name space must not be polluted. */ # define stpcpy(dest, src) __stpcpy(dest, src) +#else +# ifndef HAVE_STPCPY +static char *stpcpy PARAMS ((char *dest, const char *src)); +# endif #endif /* List of already loaded domains. */ static struct loaded_l10nfile *_nl_loaded_domains; -/* Substitution for systems lacking this function in their C library. */ -#if !_LIBC && !HAVE_STPCPY -static char *stpcpy__ PARAMS ((char *dest, const char *src)); -# define stpcpy(dest, src) stpcpy__ (dest, src) -#endif - /* Return a data structure describing the message catalog described by the DOMAINNAME and CATEGORY parameters with respect to the currently @@ -208,7 +209,7 @@ _nl_find_domain (dirname, locale, domainname) to be defined. */ #if !_LIBC && !HAVE_STPCPY static char * -stpcpy__ (dest, src) +stpcpy (dest, src) char *dest; const char *src; { |