]> The Tcpdump Group git mirrors - tcpdump/commitdiff
delete trailing spaces/tabs
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 12 May 2014 08:20:58 +0000 (10:20 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 12 May 2014 08:20:58 +0000 (10:20 +0200)
aclocal.m4
configure.in
getopt_long.h
install-sh
makemib
print-cfm.c
print-enc.c

index 40d53e82e8310025290e2dc4515d1e97c9f2e6ab..fb0a6627545288f5a1458ac023c3999b4301d4a8 100644 (file)
@@ -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
index dd384d500652f9c06eee182358407157e7bceba5..d9f2b59a75b109f01dba8272805768be8f29ce9a 100644 (file)
@@ -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);
index 39bac54d4500edbfda8e900e320ebbafcc9a0b82..fbb94e6bff7793fd8c2e0a647cb51a064fef7938 100644 (file)
@@ -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_ */
index ebc66913e94018bd82ce82789525e7f67ff340b8..b44de0989d2f48d447dc76deb4c35b8b559e37ce 100755 (executable)
@@ -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 &&
 
diff --git a/makemib b/makemib
index 8d666a8e3309c541f7b9e26388c6e93806a9c8c1..97e78754ff7b8e80aa62e1b2d7e40dcc9f148dab 100755 (executable)
--- a/makemib
+++ b/makemib
@@ -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.
 #
 
index a4602369d39978f56e2532b433f9644a063c766a..e6aec0b91f3879d5ea0fb4c3ce722f58b0b148a1 100644 (file)
@@ -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;
 
index 73b2f444db040576afa96391e7551d91ac6585af..89daae1bb4a3610d3930d015d8f0b95e4829e567 100644 (file)
 /* From $OpenBSD: if_enc.h,v 1.8 2001/06/25 05:14:00 angelos Exp $ */
 /*
  * The authors of this code are John Ioannidis ([email protected]),
- * Angelos D. Keromytis ([email protected]) and 
+ * Angelos D. Keromytis ([email protected]) and
  * Niels Provos ([email protected]).
  *
- * 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