]> granicus.if.org Git - strace/commit
Remove a few more code parts which are unused on Linux
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 25 Feb 2012 14:19:02 +0000 (15:19 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 25 Feb 2012 14:19:02 +0000 (15:19 +0100)
commitaa925db23634fe6a2c1d4b47accb3649daf1b781
tree0215b77bd1fbf4d5d40a0da16ab9fb0982e74f1f
parent1a3cf10c3095a9f80138b83f3d54499b825c9797
Remove a few more code parts which are unused on Linux

This change is abapted from Dmitry's changes to remove support for
non-Linux architectures.

* Makefile.am: Remove if LINUX/endif pairs.
* defs.h: Remove stream_ioctl() declaration.
* ioctl.c (ioctl_decode): Remove 'ifdef HAVE_SYS_STREAM_H' block.
* resource.c: Use 'defined(FOO)' instead of 'defined FOO' form.
* util.c: Likewise.
* signal.c: Remove conditional includes which are never used on Linux.
* stream.c: Likewise.
* file.c: Remove excessive empty lines.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Makefile.am
defs.h
file.c
ioctl.c
resource.c
signal.c
stream.c
util.c