Module Name: src
Committed By: roy
Date: Wed Feb 24 12:01:44 UTC 2016
Modified Files:
src/usr.bin/tic: tic.c
Log Message:
White space police.
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/usr.bin/tic/tic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/tic/tic.c
diff -u src/usr.bin/tic/tic.c:1.24 src/usr.bin/tic/tic.c:1.25
--- src/usr.bin/tic/tic.c:1.24 Sun Jul 20 20:20:16 2014
+++ src/usr.bin/tic/tic.c Wed Feb 24 12:01:44 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: tic.c,v 1.24 2014/07/20 20:20:16 christos Exp $ */
+/* $NetBSD: tic.c,v 1.25 2016/02/24 12:01:44 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.24 2014/07/20 20:20:16 christos Exp $");
+__RCSID("$NetBSD: tic.c,v 1.25 2016/02/24 12:01:44 roy Exp $");
#include <sys/types.h>
#include <sys/queue.h>
@@ -164,7 +164,7 @@ process_entry(TBUF *buf, int flags)
char *p, *e, *alias;
TERM *term;
TIC *tic;
-
+
if (buf->bufpos == 0)
return 0;
/* Terminate the string */
@@ -204,7 +204,7 @@ process_entry(TBUF *buf, int flags)
}
free(alias);
}
-
+
return 0;
}
@@ -419,7 +419,7 @@ print_dump(int argc, char **argv)
printf("\t\t\"");
col = 16;
}
-
+
col += printf("\\%03o", (uint8_t)buf[j]);
if (col > 75) {
printf("\"%s\n",
@@ -542,7 +542,7 @@ main(int argc, char **argv)
*/
if (!isspace((unsigned char)*buf) && tbuf.bufpos != 0)
process_entry(&tbuf, flags);
-
+
/* Grow the buffer if needed */
grow_tbuf(&tbuf, len);
/* Append the string */
@@ -588,6 +588,5 @@ main(int argc, char **argv)
hdestroy1(free, NULL);
#endif
-
return EXIT_SUCCESS;
}