changeset 800:d20b91530061

Be a little more consistent about space vs tab indentation.
author Rob Landley <rob@landley.net>
date Sun, 09 Aug 2009 02:06:31 -0500
parents 2ba6cce8c294
children 0a7a08d125b8
files sources/toys/ccwrap.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/sources/toys/ccwrap.c	Sun Aug 09 01:06:26 2009 -0500
+++ b/sources/toys/ccwrap.c	Sun Aug 09 02:06:31 2009 -0500
@@ -2,7 +2,7 @@
 /*
  * Copyright (C) 2000 Manuel Novoa III
  * Copyright (C) 2002-2003 Erik Andersen
- * Copyright (C) 2006-2008 Rob Landley <rob@landley.net>
+ * Copyright (C) 2006-2009 Rob Landley <rob@landley.net>
  *
  * Wrapper to use uClibc with gcc, and make gcc relocatable.
  */
@@ -154,13 +154,13 @@
 	// Check end of name, since there could be a cross-prefix on the thing
 	toolprefix = strrchr(argv[0], '/');
 	if (!toolprefix) toolprefix = argv[0];
-    else toolprefix++;
+	else toolprefix++;
 
 	prefixlen = strlen(toolprefix);
-    if (!strcmp(toolprefix+prefixlen-3, "gcc")) prefixlen -= 3;
-    else if (!strcmp(toolprefix+prefixlen-2, "cc")) prefixlen -= 2;
+	if (!strcmp(toolprefix+prefixlen-3, "gcc")) prefixlen -= 3;
+	else if (!strcmp(toolprefix+prefixlen-2, "cc")) prefixlen -= 2;
 	else if (!strcmp(toolprefix+prefixlen-2, "ld")) {
-        prefixlen -= 2;
+		prefixlen -= 2;
 
 		// TODO: put support for wrapping the linker here.
 
@@ -401,7 +401,7 @@
 		if (incstr) gcc_argv[argcnt++] = incstr;
 	}
 
-    gcc_argv[argcnt++] = "-U__nptl__";
+	gcc_argv[argcnt++] = "-U__nptl__";
 
 	if (linking && source_count) {