summary refs log tree commit diff
path: root/sysdeps/generic/bp-thunks.h
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-07-11 19:30:53 +0000
committerGreg McGary <greg@mcgary.org>2000-07-11 19:30:53 +0000
commitc62f5cab71d973f3f36f167ac4ea2fd3ebbb43f5 (patch)
tree24bb87eb0863c6e1755221a62dc638b95fc19802 /sysdeps/generic/bp-thunks.h
parent19624ed68fd3cb8380dc139459ddb11652ab730a (diff)
downloadglibc-c62f5cab71d973f3f36f167ac4ea2fd3ebbb43f5.tar.gz
glibc-c62f5cab71d973f3f36f167ac4ea2fd3ebbb43f5.tar.xz
glibc-c62f5cab71d973f3f36f167ac4ea2fd3ebbb43f5.zip
* include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
Add extra level of macro expansion. 
[!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise. 
* sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition 
is available at the time `select' prototype is declared. 
* sysdeps/unix/make-syscalls.sh: Remove unused variables. 
Collect non-versioned weak aliases.  Consider only non-versioned 
aliases for the user-visible systemcall name.  Do checks inline with 
call to primitive system call. 
* sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to 
stand-alone bounds checks to suppress unused value warnings. 
* sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2000-07-11  Greg McGary  <greg@mcgary.org>

	* include/libc-symbols.h [!__ASSEMBLER__] (strong_alias):
	Add extra level of macro expansion.
	[!__ASSEMBLER__ && HAVE_WEAK_SYMBOLS] (weak_alias): nLikewise.
	* sysdeps/generic/bp-thunks.h: Ensure `struct timeval' definition
	is available at the time `select' prototype is declared.
	* sysdeps/unix/make-syscalls.sh: Remove unused variables.
	Collect non-versioned weak aliases.  Consider only non-versioned
	aliases for the user-visible systemcall name.  Do checks inline with
	call to primitive system call.
	* sysdeps/unix/sysv/linux/ptrace.c (ptrace): Add void cast to
	stand-alone bounds checks to suppress unused value warnings.
	* sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
Diffstat (limited to 'sysdeps/generic/bp-thunks.h')
-rw-r--r--sysdeps/generic/bp-thunks.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/generic/bp-thunks.h b/sysdeps/generic/bp-thunks.h
index b036d6ab52..6a00e6b61c 100644
--- a/sysdeps/generic/bp-thunks.h
+++ b/sysdeps/generic/bp-thunks.h
@@ -31,12 +31,19 @@
 #include <libc-symbols.h>
 #include <bp-sym.h>
 #include <bp-checks.h>
+
+/* Get `struct timeval' definition for select.  */
+#define __need_timeval
+#include <bits/time.h>
+
 #include <stddef.h>
 #include <unistd.h>
 #include <sched.h>
 #include <signal.h>
 #include <fcntl.h>
+#include <time.h>
 #include <utime.h>
+
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/klog.h>