* iconv/gconv_charset.h (upstr): Add inline keyword, quiets warning.

* hurd/hurdinit.c (_hurd_init): Use internal name _hurd_new_proc_init.
This commit is contained in:
Roland McGrath 2002-05-14 02:22:58 +00:00
parent ab7dd85bfb
commit 0c981d9678
3 changed files with 11 additions and 3 deletions

View File

@ -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):

View File

@ -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 (),

View File

@ -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;