aboutsummaryrefslogtreecommitdiff
path: root/games/fortune/unstr
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-12-29 08:42:58 +0000
committerEd Schouten <ed@FreeBSD.org>2009-12-29 08:42:58 +0000
commitf29b2b9befc0b2c2c9ee9dda3fc5d7ec94c71358 (patch)
tree88fba0efa097dba651c05d349f8b26a978e59cb2 /games/fortune/unstr
parent24b76fe47f16e1684fad0ad6f8f860d8081eec56 (diff)
downloadsrc-f29b2b9befc0b2c2c9ee9dda3fc5d7ec94c71358.tar.gz
src-f29b2b9befc0b2c2c9ee9dda3fc5d7ec94c71358.zip
Use ANSI C function declarations.
Notes
Notes: svn path=/head/; revision=201175
Diffstat (limited to 'games/fortune/unstr')
-rw-r--r--games/fortune/unstr/unstr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/fortune/unstr/unstr.c b/games/fortune/unstr/unstr.c
index 25996f4f6b95..fa7da82e8c1c 100644
--- a/games/fortune/unstr/unstr.c
+++ b/games/fortune/unstr/unstr.c
@@ -79,7 +79,8 @@ FILE *Inf, *Dataf;
void order_unstr(STRFILE *);
/* ARGSUSED */
-int main(int ac, char **av)
+int
+main(int ac, char **av)
{
static STRFILE tbl; /* description table */
@@ -109,8 +110,8 @@ int main(int ac, char **av)
exit(0);
}
-void order_unstr(tbl)
-STRFILE *tbl;
+void
+order_unstr(STRFILE *tbl)
{
uint32_t i;
char *sp;