summaryrefslogtreecommitdiffstats
path: root/games/fortune/strfile
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/fortune/strfile
parent86df52f412c220bacae074173eb61b229ecdbbf3 (diff)
downloadFreeBSD-src-9751ab22aebd4e0dc1a47417f01e8e6471427840.zip
FreeBSD-src-9751ab22aebd4e0dc1a47417f01e8e6471427840.tar.gz
Fix warning: return type of `main' is not `int'
Diffstat (limited to 'games/fortune/strfile')
-rw-r--r--games/fortune/strfile/strfile.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c
index 9b67b6a..1a57d2b 100644
--- a/games/fortune/strfile/strfile.c
+++ b/games/fortune/strfile/strfile.c
@@ -41,7 +41,12 @@ static const char copyright[] =
#endif /* not lint */
#ifndef lint
+#if 0
static const char sccsid[] = "@(#)strfile.c 8.1 (Berkeley) 5/31/93";
+#else
+static const char rcsid[] =
+ "$FreeBSD$";
+#endif
#endif /* not lint */
# include <sys/param.h>
@@ -134,7 +139,7 @@ int cmp_str();
* CHUNKSIZE blocks; if the latter, we just write each pointer,
* and then seek back to the beginning to write in the table.
*/
-void main(ac, av)
+int main(ac, av)
int ac;
char **av;
{
OpenPOWER on IntegriCloud