diff options
author | Roland McGrath <roland@gnu.org> | 2002-05-14 02:22:58 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-05-14 02:22:58 +0000 |
commit | 0c981d96785722446274b9c69bf2e22876374126 (patch) | |
tree | 0f2f12ac65d3ba6cb849640b8fd7f13a67d97327 | |
parent | ab7dd85bfbe9a176c2d5055d52185ae6364f97af (diff) | |
download | glibc-0c981d96785722446274b9c69bf2e22876374126.zip glibc-0c981d96785722446274b9c69bf2e22876374126.tar.gz glibc-0c981d96785722446274b9c69bf2e22876374126.tar.bz2 |
* iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning.
* hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | hurd/hurdinit.c | 4 | ||||
-rw-r--r-- | iconv/gconv_charset.h | 4 |
3 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,9 @@ +2002-05-13 Roland McGrath <roland@frob.com> + + * iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning. + + * hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init. + 2002-05-13 Marcus Brinkmann <marcus@gnu.org> * hurd/hurdchdir.c (_hurd_change_directory_port_from_name): diff --git a/hurd/hurdinit.c b/hurd/hurdinit.c index c7f9d42..259f8a3 100644 --- a/hurd/hurdinit.c +++ b/hurd/hurdinit.c @@ -51,6 +51,8 @@ _hurd_ports_use (int which, error_t (*operate) (mach_port_t)) DEFINE_HOOK (_hurd_subinit, (void)); +__typeof (_hurd_proc_init) _hurd_new_proc_init; /* below */ + /* Initialize the library data structures from the ints and ports passed to us by the exec server. @@ -89,7 +91,7 @@ _hurd_init (int flags, char **argv, /* Tell the proc server we exist, if it does. */ if (portarray[INIT_PORT_PROC] != MACH_PORT_NULL) - _hurd_proc_init (argv, intarray, intarraysize); + _hurd_new_proc_init (argv, intarray, intarraysize); /* All done with init ints and ports. */ __vm_deallocate (__mach_task_self (), diff --git a/iconv/gconv_charset.h b/iconv/gconv_charset.h index 76a92a1..f2eab2d 100644 --- a/iconv/gconv_charset.h +++ b/iconv/gconv_charset.h @@ -1,5 +1,5 @@ /* Charset name normalization. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001,02 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 2001. @@ -48,7 +48,7 @@ strip (char *wp, const char *s) } -static char * __attribute__ ((unused)) +static inline char * __attribute__ ((unused)) upstr (char *dst, const char *str) { char *cp = dst; |