summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate/bigram/locate.bigram.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/locate/bigram/locate.bigram.c')
-rw-r--r--usr.bin/locate/bigram/locate.bigram.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/locate/bigram/locate.bigram.c b/usr.bin/locate/bigram/locate.bigram.c
index 208824f..6fa2d31 100644
--- a/usr.bin/locate/bigram/locate.bigram.c
+++ b/usr.bin/locate/bigram/locate.bigram.c
@@ -37,6 +37,7 @@
* $FreeBSD$
*/
+#if 0
#ifndef lint
static char copyright[] =
"@(#) Copyright (c) 1989, 1993\n\
@@ -46,6 +47,7 @@ static char copyright[] =
#ifndef lint
static char sccsid[] = "@(#)locate.bigram.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
+#endif
/*
* bigram < sorted_file_names | sort -nr |
@@ -67,9 +69,9 @@ u_int bigram[UCHAR_MAX + 1][UCHAR_MAX + 1];
int
main(void)
{
- register u_char *cp;
- register u_char *oldpath = buf1, *path = buf2;
- register u_int i, j;
+ u_char *cp;
+ u_char *oldpath = buf1, *path = buf2;
+ u_int i, j;
while (fgets(path, sizeof(buf2), stdin) != NULL) {
OpenPOWER on IntegriCloud