summaryrefslogtreecommitdiffstats
path: root/games/caesar
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-09-15 01:58:44 +0000
committerpeter <peter@FreeBSD.org>1999-09-15 01:58:44 +0000
commit9751ab22aebd4e0dc1a47417f01e8e6471427840 (patch)
treef600607dae931af96b85ffc6096825041bedd739 /games/caesar
parent86df52f412c220bacae074173eb61b229ecdbbf3 (diff)
downloadFreeBSD-src-9751ab22aebd4e0dc1a47417f01e8e6471427840.zip
FreeBSD-src-9751ab22aebd4e0dc1a47417f01e8e6471427840.tar.gz
Fix warning: return type of `main' is not `int'
Diffstat (limited to 'games/caesar')
-rw-r--r--games/caesar/caesar.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/caesar/caesar.c b/games/caesar/caesar.c
index b227b57..e2f1074 100644
--- a/games/caesar/caesar.c
+++ b/games/caesar/caesar.c
@@ -46,7 +46,12 @@ static const char copyright[] =
#endif /* not lint */
#ifndef lint
+#if 0
static const char sccsid[] = "@(#)caesar.c 8.1 (Berkeley) 5/31/93";
+#else
+static const char rcsid[] =
+ "$FreeBSD$";
+#endif
#endif /* not lint */
#include <errno.h>
@@ -75,7 +80,8 @@ double stdf[26] = {
void printit();
-void main(argc, argv)
+int
+main(argc, argv)
int argc;
char **argv;
{
OpenPOWER on IntegriCloud