about summary refs log tree commit diff
path: root/sysdeps/generic/getsid.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-04 03:30:56 +0000
committerRoland McGrath <roland@gnu.org>2002-08-04 03:30:56 +0000
commitc41f555e0c91588469586cb7fef23907582b2595 (patch)
tree61451cb29fdd0cc6aae97b46d61191c4fae53569 /sysdeps/generic/getsid.c
parent5517266d33193ca13de097fa2775661c3bc6dac0 (diff)
downloadglibc-c41f555e0c91588469586cb7fef23907582b2595.tar.gz
glibc-c41f555e0c91588469586cb7fef23907582b2595.tar.xz
glibc-c41f555e0c91588469586cb7fef23907582b2595.zip
* include/unistd.h: Use libc_hidden_proto for _exit, alarm, confstr,
	execl, execle, execlp, execvp, getpid, getsid.
	* sysdeps/generic/alarm.c: Add libc_hidden_def.
	* sysdeps/unix/alarm.c: Likewise.
	* posix/confstr.c: Likewise.
	* posix/execvp.c: Likewise.
	* posix/execlp.c: Likewise.
	* posix/execle.c: Likewise.
	* posix/execl.c: Likewise.
	* sysdeps/generic/getsid.c: Likewise.
	* sysdeps/mach/hurd/getsid.c: Likewise.
	* sysdeps/generic/getpid.c: Add libc_hidden_weak.
	* sysdeps/mach/hurd/getpid.c: Likewise.

	* include/stdlib.h: Use libc_hidden_proto for ecvt_r, fcvt_r,
	qecvt_r, qfcvt_r, lrand48_r.
	* misc/efgcvt_r.c: Add libc_hidden_def.

	* include/wordexp.h: Use libc_hidden_proto for wordfree.
	* sysdeps/generic/wordexp.c: Add libc_hidden_def.

	* include/langinfo.h: Use libc_hidden_proto for nl_langinfo.
	* locale/nl_langinfo.c: Add libc_hidden_def.

	* include/glob.h: Use libc_hidden_proto for glob, globfree, globfree64.
	* sysdeps/generic/glob.c: Add libc_hidden_def.
	* sysdeps/generic/glob64.c: Likewise.
	* sysdeps/wordsize-64/glob.c (globfree64): Add libc_hidden_weak.
Diffstat (limited to 'sysdeps/generic/getsid.c')
-rw-r--r--sysdeps/generic/getsid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/getsid.c b/sysdeps/generic/getsid.c
index 1c12cd5197..eb7e60fa42 100644
--- a/sysdeps/generic/getsid.c
+++ b/sysdeps/generic/getsid.c
@@ -1,5 +1,5 @@
 /* getsid -- Return session ID of a process.  Stub version.
-   Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1995,96,97,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -27,5 +27,6 @@ getsid (pid_t pid)
   __set_errno (ENOSYS);
   return (pid_t) -1;
 }
+libc_hidden_def (getsid)
 stub_warning (getsid)
 #include <stub-tag.h>