summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-04 03:50:21 +0000
committerRoland McGrath <roland@gnu.org>2002-08-04 03:50:21 +0000
commita14f26ef6924a6795025f4193a3567b95b339b05 (patch)
tree45ba174eb4d5d12c46ae8244fc6b6ba4a92590c9 /sysdeps/unix
parentc41f555e0c91588469586cb7fef23907582b2595 (diff)
downloadglibc-a14f26ef6924a6795025f4193a3567b95b339b05.tar.gz
glibc-a14f26ef6924a6795025f4193a3567b95b339b05.tar.xz
glibc-a14f26ef6924a6795025f4193a3567b95b339b05.zip
* include/sys/resource.h: Use libc_hidden_proto for getpriority,
	setpriority.
	* sysdeps/unix/sysv/linux/getpriority.c: Add libc_hidden_def.
	* sysdeps/unix/sysv/irix4/getpriority.c: Likewise.
	* sysdeps/mach/hurd/setpriority.c: Likewise.
	* sysdeps/mach/hurd/getpriority.c: Likewise.
	* sysdeps/generic/setpriority.c: Likewise.
	* sysdeps/generic/getpriority.c: Likewise.

	* include/mcheck.h: Use libc_hidden_proto for mcheck_check_all.
	* malloc/mcheck.c: Add libc_hidden_def.

	* include/search.h: Use libc_hidden_proto for hcreate_r, hdestroy_r.
	* misc/hsearch_r.c: Add libc_hidden_def.

	* include/fnmatch.h: Use libc_hidden_proto for fnmatch.
	* posix/fnmatch.c: Add libc_hidden_weak.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/irix4/getpriority.c3
-rw-r--r--sysdeps/unix/sysv/linux/getpriority.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/irix4/getpriority.c b/sysdeps/unix/sysv/irix4/getpriority.c
index 9fc2be963e..baf945e54c 100644
--- a/sysdeps/unix/sysv/irix4/getpriority.c
+++ b/sysdeps/unix/sysv/irix4/getpriority.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1994,96,97,2000,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
@@ -44,3 +44,4 @@ getpriority (which, who)
   __set_errno (EINVAL);
   return -1;
 }
+libc_hidden_def (getpriority)
diff --git a/sysdeps/unix/sysv/linux/getpriority.c b/sysdeps/unix/sysv/linux/getpriority.c
index 809f0c1623..56796ed81c 100644
--- a/sysdeps/unix/sysv/linux/getpriority.c
+++ b/sysdeps/unix/sysv/linux/getpriority.c
@@ -1,5 +1,5 @@
 /* getpriority for Linux.
-   Copyright (C) 1996, 1998, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1996,98,2000,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
@@ -44,3 +44,4 @@ getpriority (enum __priority_which which, id_t who)
     res = PZERO - res;
   return res;
 }
+libc_hidden_def (getpriority)