summaryrefslogtreecommitdiff
path: root/src/dopt.h
diff options
context:
space:
mode:
authorcsilvers <csilvers@01de4be4-8c4a-0410-9132-4925637da917>2008-05-20 06:13:28 +0000
committercsilvers <csilvers@01de4be4-8c4a-0410-9132-4925637da917>2008-05-20 06:13:28 +0000
commit9d7d41c8586d571e6e05a7bbc0b623333f7250ce (patch)
tree4883b724529a1f64b45cb666e3f3764a945bfb5a /src/dopt.h
parenta3f9539b6a2c9ef05898598e02cf4a476579fb8e (diff)
downloaddistcc-9d7d41c8586d571e6e05a7bbc0b623333f7250ce.tar.gz
Turned all tabs into 4 spaces. Got rid of whitespace at the end of
lines. Fixed up resulting mis-indented code I noticed (mostly in files that used 8 space indents, or used 4-space and 8-space indents in the same file (!)). Added the emacs tab-var setting for all files, not just some of them. I also added in copyright notices for files I noticed that didn't have them. We'll want to do another pass-through to fix these up properly, though. I used the following perl snippet to check for mis-indented code after converting tabs to whitespace: $ for i in *.{c,h}; do echo $i; perl -nle 'if ($indent > 0) {$sp=" " x $indent; /^$sp[^ ]/ && print "$.: $_"; $indent=0;}; if (/^( *).*{/ ) {$indent=length($1);} else {$indent=0;}' $i; done | less It had false positives, but hopefully didn't miss anything. Reviewed by klarlund@google.com git-svn-id: http://distcc.googlecode.com/svn/trunk@320 01de4be4-8c4a-0410-9132-4925637da917
Diffstat (limited to 'src/dopt.h')
-rw-r--r--src/dopt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dopt.h b/src/dopt.h
index 69cead7..15a3e59 100644
--- a/src/dopt.h
+++ b/src/dopt.h
@@ -1,5 +1,5 @@
/* -*- c-file-style: "java"; indent-tabs-mode: nil; tab-width: 4 fill-column: 78 -*-
- *
+ *
* distcc -- A simple distributed compiler system
*
* Copyright (C) 2002, 2003 by Martin Pool <mbp@samba.org>
@@ -13,7 +13,7 @@
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307