aboutsummaryrefslogtreecommitdiff
path: root/posix
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 /posix
parent5517266d33193ca13de097fa2775661c3bc6dac0 (diff)
downloadglibc-c41f555e0c91588469586cb7fef23907582b2595.zip
glibc-c41f555e0c91588469586cb7fef23907582b2595.tar.gz
glibc-c41f555e0c91588469586cb7fef23907582b2595.tar.bz2
* 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 'posix')
-rw-r--r--posix/confstr.c3
-rw-r--r--posix/execl.c3
-rw-r--r--posix/execle.c3
-rw-r--r--posix/execlp.c3
-rw-r--r--posix/execvp.c3
5 files changed, 10 insertions, 5 deletions
diff --git a/posix/confstr.c b/posix/confstr.c
index f41d0fc..fe5f38c 100644
--- a/posix/confstr.c
+++ b/posix/confstr.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1991,96,97,2000,01,02 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
@@ -157,3 +157,4 @@ confstr (name, buf, len)
}
return string_len;
}
+libc_hidden_def (confstr)
diff --git a/posix/execl.c b/posix/execl.c
index 72748a4..62fd45d 100644
--- a/posix/execl.c
+++ b/posix/execl.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,94,97,98,99,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
@@ -75,3 +75,4 @@ execl (const char *path, const char *arg, ...)
return __execve (path, (char *const *) argv, __environ);
}
+libc_hidden_def (execl)
diff --git a/posix/execle.c b/posix/execle.c
index 8418381..2199ebe 100644
--- a/posix/execle.c
+++ b/posix/execle.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,97,98,99,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
@@ -73,3 +73,4 @@ execle (const char *path, const char *arg, ...)
return __execve (path, (char *const *) argv, (char *const *) envp);
}
+libc_hidden_def (execle)
diff --git a/posix/execlp.c b/posix/execlp.c
index 9507056..ba8fc74 100644
--- a/posix/execlp.c
+++ b/posix/execlp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 93, 96, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991,93,96,97,98,99,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
@@ -72,3 +72,4 @@ execlp (const char *file, const char *arg, ...)
return execvp (file, (char *const *) argv);
}
+libc_hidden_def (execlp)
diff --git a/posix/execvp.c b/posix/execvp.c
index a9621d2..6e91952 100644
--- a/posix/execvp.c
+++ b/posix/execvp.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,95,96,97,98,99,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
@@ -156,3 +156,4 @@ execvp (file, argv)
/* Return the error from the last attempt (probably ENOENT). */
return -1;
}
+libc_hidden_def (execvp)