From c41f555e0c91588469586cb7fef23907582b2595 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 4 Aug 2002 03:30:56 +0000 Subject: * 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. --- posix/confstr.c | 3 ++- posix/execl.c | 3 ++- posix/execle.c | 3 ++- posix/execlp.c | 3 ++- posix/execvp.c | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) (limited to 'posix') 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) -- cgit v1.1