Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/games/cgram Restore return value of main, arbitrarily thrown...



details:   https://anonhg.NetBSD.org/src/rev/b72150e0865a
branches:  trunk
changeset: 379334:b72150e0865a
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri May 28 03:55:08 2021 +0000

description:
Restore return value of main, arbitrarily thrown away in -r1.4.

diffstat:

 games/cgram/cgram.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 6898c07c682d -r b72150e0865a games/cgram/cgram.c
--- a/games/cgram/cgram.c       Fri May 28 00:18:27 2021 +0000
+++ b/games/cgram/cgram.c       Fri May 28 03:55:08 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cgram.c,v 1.23 2021/05/01 20:29:23 rillig Exp $ */
+/* $NetBSD: cgram.c,v 1.24 2021/05/28 03:55:08 dholland Exp $ */
 
 /*-
  * Copyright (c) 2013, 2021 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: cgram.c,v 1.23 2021/05/01 20:29:23 rillig Exp $");
+__RCSID("$NetBSD: cgram.c,v 1.24 2021/05/28 03:55:08 dholland Exp $");
 #endif
 
 #include <assert.h>
@@ -612,4 +612,5 @@ main(int argc, char *argv[])
        init(argc > 1 ? argv[1] : NULL);
        loop();
        done();
+       return 0;
 }



Home | Main Index | Thread Index | Old Index