Module Name: src
Committed By: dholland
Date: Wed Aug 12 08:24:20 UTC 2009
Modified Files:
src/games/ppt: ppt.c
Log Message:
sprinkle static
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/games/ppt/ppt.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/games/ppt/ppt.c
diff -u src/games/ppt/ppt.c:1.17 src/games/ppt/ppt.c:1.18
--- src/games/ppt/ppt.c:1.17 Sun Jul 20 01:03:22 2008
+++ src/games/ppt/ppt.c Wed Aug 12 08:24:20 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: ppt.c,v 1.17 2008/07/20 01:03:22 lukem Exp $ */
+/* $NetBSD: ppt.c,v 1.18 2009/08/12 08:24:20 dholland Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)ppt.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: ppt.c,v 1.17 2008/07/20 01:03:22 lukem Exp $");
+__RCSID("$NetBSD: ppt.c,v 1.18 2009/08/12 08:24:20 dholland Exp $");
#endif
#endif /* not lint */
@@ -51,12 +51,10 @@
#define EDGE "___________"
- void usage(void);
- int main(int, char *[]);
-static void putppt(int);
- int getppt(const char *);
+static void putppt(int);
+static int getppt(const char *);
-void
+static void
usage(void)
{
extern char *__progname;
@@ -65,9 +63,7 @@
}
int
-main(argc, argv)
- int argc;
- char **argv;
+main(int argc, char **argv)
{
char *p, buf[132];
int c, start, neednl, dflag;
@@ -149,7 +145,7 @@
(void) putchar('\n');
}
-int
+static int
getppt(const char *buf)
{
const char *p = strchr(buf, '.');