diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-02-25 15:19:02 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-02-25 15:19:02 +0100 |
commit | aa925db23634fe6a2c1d4b47accb3649daf1b781 (patch) | |
tree | 0215b77bd1fbf4d5d40a0da16ab9fb0982e74f1f /stream.c | |
parent | 1a3cf10c3095a9f80138b83f3d54499b825c9797 (diff) | |
download | strace-aa925db23634fe6a2c1d4b47accb3649daf1b781.tar.gz strace-aa925db23634fe6a2c1d4b47accb3649daf1b781.tar.bz2 strace-aa925db23634fe6a2c1d4b47accb3649daf1b781.tar.xz |
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>
Diffstat (limited to 'stream.c')
-rw-r--r-- | stream.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -43,13 +43,6 @@ #ifdef HAVE_SYS_CONF_H #include <sys/conf.h> #endif -#ifdef HAVE_SYS_STREAM_H -#include <sys/stream.h> -#endif -#ifdef HAVE_SYS_TIHDR_H -#include <sys/tihdr.h> -#endif - #ifndef HAVE_STROPTS_H #define RS_HIPRI 1 @@ -62,12 +55,6 @@ struct strbuf { #define MOREDATA 2 #endif /* !HAVE_STROPTS_H */ -#ifdef HAVE_SYS_TIUSER_H -#include <sys/tiuser.h> -#include <sys/sockmod.h> -#include <sys/timod.h> -#endif /* HAVE_SYS_TIUSER_H */ - static const struct xlat msgflags[] = { { RS_HIPRI, "RS_HIPRI" }, { 0, NULL }, |