Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/tic Whitespace and formatting.
details: https://anonhg.NetBSD.org/src/rev/8122d57e38ba
branches: trunk
changeset: 353414:8122d57e38ba
user: roy <roy%NetBSD.org@localhost>
date: Thu May 04 13:53:36 2017 +0000
description:
Whitespace and formatting.
diffstat:
usr.bin/tic/tic.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r ca796b68ed76 -r 8122d57e38ba usr.bin/tic/tic.c
--- a/usr.bin/tic/tic.c Thu May 04 11:12:23 2017 +0000
+++ b/usr.bin/tic/tic.c Thu May 04 13:53:36 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tic.c,v 1.27 2017/01/10 21:15:23 christos Exp $ */
+/* $NetBSD: tic.c,v 1.28 2017/05/04 13:53:36 roy Exp $ */
/*
* Copyright (c) 2009, 2010 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
#endif
#include <sys/cdefs.h>
-__RCSID("$NetBSD: tic.c,v 1.27 2017/01/10 21:15:23 christos Exp $");
+__RCSID("$NetBSD: tic.c,v 1.28 2017/05/04 13:53:36 roy Exp $");
#include <sys/types.h>
#include <sys/queue.h>
@@ -527,7 +527,7 @@
hcreate(HASH_SIZE);
buf = tbuf.buf = NULL;
- buflen = tbuf.buflen = tbuf.bufpos = 0;
+ buflen = tbuf.buflen = tbuf.bufpos = 0;
while ((len = getline(&buf, &buflen, f)) != -1) {
/* Skip comments */
if (*buf == '#')
@@ -539,9 +539,9 @@
continue;
}
/*
- If the first char is space not a space then we have a
- new entry, so process it.
- */
+ * If the first char is space not a space then we have a
+ * new entry, so process it.
+ */
if (!isspace((unsigned char)*buf) && tbuf.bufpos != 0)
process_entry(&tbuf, flags);
Home |
Main Index |
Thread Index |
Old Index