Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib Indent using tab rather than four spaces.



details:   https://anonhg.NetBSD.org/src/rev/1aa49d67957c
branches:  trunk
changeset: 758592:1aa49d67957c
user:      enami <enami%NetBSD.org@localhost>
date:      Wed Nov 10 02:33:49 2010 +0000

description:
Indent using tab rather than four spaces.

diffstat:

 lib/libc/stdlib/getenv.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (33 lines):

diff -r 3b9eebae468f -r 1aa49d67957c lib/libc/stdlib/getenv.c
--- a/lib/libc/stdlib/getenv.c  Wed Nov 10 01:49:00 2010 +0000
+++ b/lib/libc/stdlib/getenv.c  Wed Nov 10 02:33:49 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getenv.c,v 1.30 2010/11/04 21:49:45 christos Exp $     */
+/*     $NetBSD: getenv.c,v 1.31 2010/11/10 02:33:49 enami Exp $        */
 
 /*
  * Copyright (c) 1987, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)getenv.c   8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: getenv.c,v 1.30 2010/11/04 21:49:45 christos Exp $");
+__RCSID("$NetBSD: getenv.c,v 1.31 2010/11/10 02:33:49 enami Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -166,10 +166,10 @@
                return;
 
        for (; environ[offset]; offset++)
-           if (environ[offset] == __environ_malloced[offset]) {
-                   free(__environ_malloced[offset]);
-                   environ[offset] = __environ_malloced[offset] = NULL;
-           }
+               if (environ[offset] == __environ_malloced[offset]) {
+                       free(__environ_malloced[offset]);
+                       environ[offset] = __environ_malloced[offset] = NULL;
+               }
 
        environ[offset] = __environ_malloced[offset] = NULL;
 }



Home | Main Index | Thread Index | Old Index