]> granicus.if.org Git - strace/commitdiff
Build fixes after non-Linux code removal
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 25 Feb 2012 01:54:34 +0000 (02:54 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 25 Feb 2012 01:54:34 +0000 (02:54 +0100)
* configure.ac: Remove calls to proc-based ptrace checks.
* proc.c: Remove, it's empty now.
* Makefile.am: Remove reference to proc.c.
* net.c: Remove trailing newlines.
* quota.c: Likewise
* resource.c: Likewise
* strace.c: Likewise
* stream.c: Likewise
* time.c: Likewise

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Makefile.am
configure.ac
net.c
proc.c [deleted file]
quota.c
resource.c
strace.c
stream.c
time.c

index 35058d78aa0e03bc136af2a698d474304fad6d75..d9c479545b622168cf671bd44d7e41722dfeb4f0 100644 (file)
@@ -18,7 +18,7 @@ AM_CPPFLAGS = -I$(srcdir)/$(OS)/$(ARCH) -I$(srcdir)/$(OS) -I$(builddir)/$(OS)
 strace_SOURCES = strace.c syscall.c count.c util.c desc.c file.c ipc.c \
                 io.c ioctl.c mem.c net.c process.c bjm.c quota.c \
                 resource.c signal.c sock.c system.c term.c time.c \
-                proc.c scsi.c stream.c block.c pathtrace.c
+                scsi.c stream.c block.c pathtrace.c
 noinst_HEADERS = defs.h
 
 EXTRA_DIST = $(man_MANS) errnoent.sh signalent.sh syscallent.sh ioctlsort.c \
index 882e8dd8bed17b7391528bd7456175c4b10df624..6eb9a03e61b95f63fd60588f4b7d565e9a2274f8 100644 (file)
@@ -259,11 +259,7 @@ AC_CHECK_TYPES([struct sigcontext_struct,
                struct sigcontext],,, [#include <signal.h>])
 AC_CHECK_HEADERS([netinet/tcp.h netinet/udp.h],,, [#include <netinet/in.h>])
 
-AC_MP_PROCFS
-AC_POLLABLE_PROCFS
-
 AC_CHECK_MEMBERS([struct msghdr.msg_control],,, [#include <sys/socket.h>])
-AC_STRUCT_PR_SYSCALL
 
 AC_CHECK_MEMBERS([struct T_conn_res.QUEUE_ptr,
                   struct T_conn_res.ACCEPTOR_id],,,
diff --git a/net.c b/net.c
index 2aecc3658e6c279f4a9b50ffe54e32cb81049bf7..d5baf23370a86dc342c276ba6ab24963f28ace60 100644 (file)
--- a/net.c
+++ b/net.c
@@ -2185,4 +2185,3 @@ sys_setsockopt(struct tcb *tcp)
        }
        return 0;
 }
-
diff --git a/proc.c b/proc.c
deleted file mode 100644 (file)
index 06b3fcb..0000000
--- a/proc.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- * 3. The name of the author may not be used to endorse or promote products
- *    derived from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
- * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
- * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
- * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
- * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- *     $Id$
- */
-
-#include "defs.h"
-
-
diff --git a/quota.c b/quota.c
index 7e228ce0cb26fc79a0cc5e72f3f6a2cf2160e099..86600e9594a8f237cb741e5dad6a480502665869 100644 (file)
--- a/quota.c
+++ b/quota.c
@@ -655,5 +655,3 @@ sys_quotactl(struct tcb *tcp)
        }
        return 0;
 }
-
-
index 9040b0520e3aca59c410ec38345f950494b914a9..4f20f1a59791b0b1a75da0c8b2103db93b1b1145 100644 (file)
@@ -464,4 +464,3 @@ sys_times(struct tcb *tcp)
        }
        return 0;
 }
-
index 66dee5f817687f39c1d3db7312fead67c560b930..ec3068aa565bf8e8aed79fc35cf55fdf4975b02d 100644 (file)
--- a/strace.c
+++ b/strace.c
@@ -2119,4 +2119,3 @@ tabto(void)
        if (curcol < acolumn)
                tprints(acolumn_spaces + curcol);
 }
-
index 3eb7dde5a7f1bca847aa91bf653b5af27e453f74..d2b7454d56c839bbb6c699f4c5fd6e87e90d2fb0 100644 (file)
--- a/stream.c
+++ b/stream.c
@@ -451,5 +451,3 @@ sys_poll(struct tcb *tcp)
        return 0;
 }
 #endif
-
-
diff --git a/time.c b/time.c
index 4cc9c5910ebfe7fd2517dd7f620e969d92fd27ef..1a134aeb256d436a19ed1b2418a0875353a6e41d 100644 (file)
--- a/time.c
+++ b/time.c
@@ -962,4 +962,3 @@ sys_timerfd_gettime(struct tcb *tcp)
        }
        return 0;
 }
-