diff options
author | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2014-05-12 10:20:58 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <fx.lebail@yahoo.com> | 2014-05-12 10:20:58 +0200 |
commit | 86f3cae06d11516a3c22959a7b2b53bbaaa161d5 (patch) | |
tree | 0288ddf94b0453cc9fb70acd72456ff7eacf32ad | |
parent | dab41bbd1ec200c11d797c74181cbbf80c5707e2 (diff) | |
download | tcpdump-86f3cae06d11516a3c22959a7b2b53bbaaa161d5.tar.gz |
delete trailing spaces/tabs
-rw-r--r-- | aclocal.m4 | 2 | ||||
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | getopt_long.h | 2 | ||||
-rwxr-xr-x | install-sh | 14 | ||||
-rwxr-xr-x | makemib | 6 | ||||
-rw-r--r-- | print-cfm.c | 2 | ||||
-rw-r--r-- | print-enc.c | 6 |
7 files changed, 18 insertions, 18 deletions
@@ -1130,7 +1130,7 @@ dnl documentation and/or other materials provided with the distribution. dnl 3. Neither the name of the project nor the names of its contributors dnl may be used to endorse or promote products derived from this software dnl without specific prior written permission. -dnl +dnl dnl THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND dnl ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE dnl IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE diff --git a/configure.in b/configure.in index dd384d50..d9f2b59a 100644 --- a/configure.in +++ b/configure.in @@ -31,7 +31,7 @@ if test "$ac_cv___attribute__" = "yes"; then AC_C___ATTRIBUTE___FORMAT_FUNCTION_POINTER fi fi - + AC_CHECK_HEADERS(fcntl.h rpc/rpc.h rpc/rpcent.h netdnet/dnetdb.h) AC_CHECK_HEADERS(net/pfvar.h, , , [#include <sys/types.h> #include <sys/socket.h> @@ -109,7 +109,7 @@ main() { int current, revision, age, n; const int required = 2; - if (smiInit("")) + if (smiInit("")) exit(1); if (strcmp(SMI_LIBRARY_VERSION, smi_library_version)) exit(2); diff --git a/getopt_long.h b/getopt_long.h index 39bac54d..fbb94e6b 100644 --- a/getopt_long.h +++ b/getopt_long.h @@ -62,5 +62,5 @@ int getopt_long_only(int, char * const *, const char *, extern char *optarg; /* getopt(3) external variables */ extern int optind, opterr, optopt; - + #endif /* !_GETOPT_LONG_H_ */ @@ -115,7 +115,7 @@ fi if [ x"$dir_arg" != x ]; then dst=$src src="" - + if [ -d $dst ]; then instcmd=: else @@ -124,7 +124,7 @@ if [ x"$dir_arg" != x ]; then else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command -# might cause directories to be created, which would be especially bad +# might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] @@ -134,7 +134,7 @@ else echo "install: $src does not exist" exit 1 fi - + if [ x"$dst" = x ] then echo "install: no destination specified" @@ -201,17 +201,17 @@ else # If we're going to rename the final executable, determine the name now. - if [ x"$transformarg" = x ] + if [ x"$transformarg" = x ] then dstfile=`basename $dst` else - dstfile=`basename $dst $transformbasename | + dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename - if [ x"$dstfile" = x ] + if [ x"$dstfile" = x ] then dstfile=`basename $dst` else @@ -242,7 +242,7 @@ else # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && - $doit $mvcmd $dsttmp $dstdir/$dstfile + $doit $mvcmd $dsttmp $dstdir/$dstfile fi && @@ -37,7 +37,7 @@ # This script needs to be run by "gawk" (GNU awk). "nawk" will work, but # dump will get a recursion error if you process LARGE mibs. While it would # by farily easy to rewrite this not to use recursion (and also easy to -# eliminate use of gsub and functions to use classic "awk"), you have to +# eliminate use of gsub and functions to use classic "awk"), you have to # order the structure declarations in defined-first order for the compiler # not to barf; too bad tsort doesn't take arguments. # @@ -47,7 +47,7 @@ cat << EOF * This file was generated by tcpdump/makemib on `date` * You probably don't want to edit this by hand! * - * struct mib somename = { desc, oid-octet, type, child-pointer, next-pointer + * struct mib somename = { desc, oid-octet, type, child-pointer, next-pointer }; */ @@ -157,7 +157,7 @@ $2$3 == "::={" { } -# +# # End of the road - output the data. # diff --git a/print-cfm.c b/print-cfm.c index a4602369..e6aec0b9 100644 --- a/print-cfm.c +++ b/print-cfm.c @@ -371,7 +371,7 @@ cfm_print(netdissect_options *ndo, break; case CFM_CCM_MD_FORMAT_MAC: - ND_PRINT((ndo, "\n\t MAC %s", etheraddr_string(ndo, + ND_PRINT((ndo, "\n\t MAC %s", etheraddr_string(ndo, msg_ptr.cfm_ccm->md_name))); break; diff --git a/print-enc.c b/print-enc.c index 73b2f444..89daae1b 100644 --- a/print-enc.c +++ b/print-enc.c @@ -34,10 +34,10 @@ /* From $OpenBSD: if_enc.h,v 1.8 2001/06/25 05:14:00 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), - * Angelos D. Keromytis (kermit@csd.uch.gr) and + * Angelos D. Keromytis (kermit@csd.uch.gr) and * Niels Provos (provos@physnet.uni-hamburg.de). * - * This code was written by John Ioannidis for BSD/OS in Athens, Greece, + * This code was written by John Ioannidis for BSD/OS in Athens, Greece, * in November 1995. * * Ported to OpenBSD and NetBSD, with additional transforms, in December 1996, @@ -53,7 +53,7 @@ * Permission to use, copy, and modify this software with or without fee * is hereby granted, provided that this entire notice is included in * all copies of any software which is or includes a copy or - * modification of this software. + * modification of this software. * You may use this code under the GNU public license if you so wish. Please * contribute changes back to the authors under this freer than GPL license * so that we may further the use of strong encryption without limitations to |