Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove $(sysctl) from sysdep_routines
  • Loading branch information
H.J. Lu committed May 22, 2012
1 parent c900932 commit cb191f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ChangeLog
Expand Up @@ -2,7 +2,7 @@

* sysdeps/unix/sysv/linux/Makefile: Include
$(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
(sysdep_routines): Replace sysctl with $(sysctl).
(sysdep_routines): Remove sysctl.
* sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
* sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/unix/sysv/linux/Makefile
Expand Up @@ -19,7 +19,7 @@ endif
ifeq ($(subdir),misc)
include $(firstword $(wildcard $(sysdirs:=/sysctl.mk)))

sysdep_routines += $(sysctl) clone llseek umount umount2 readahead \
sysdep_routines += clone llseek umount umount2 readahead \
setfsuid setfsgid makedev epoll_pwait signalfd \
eventfd eventfd_read eventfd_write prlimit

Expand Down
4 changes: 2 additions & 2 deletions sysdeps/unix/sysv/linux/sysctl.mk
@@ -1,3 +1,3 @@
# sysctl system call has been deprecated. It is provided for backward
# compatility. New target should override it (see x86_64/x32/sysctl.mk).
sysctl = sysctl
# compatility. New target shouldn't add it (see x86_64/x32/sysctl.mk).
sysdep_routines += sysctl
1 change: 0 additions & 1 deletion sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk
@@ -1,2 +1 @@
# X32 doesn't support sysctl.
sysctl =

0 comments on commit cb191f2

Please sign in to comment.