summaryrefslogtreecommitdiff
path: root/games/pom
diff options
context:
space:
mode:
authortb <tb@cvs.openbsd.org>2016-01-07 16:00:35 +0000
committertb <tb@cvs.openbsd.org>2016-01-07 16:00:35 +0000
commit93e376267b624e9b6d6dc70ec32418c59d2a25b0 (patch)
tree9b0fedba72c0c99cf7d268ba0c169cb908c27a59 /games/pom
parent58a106c10757a33412a67cbda574c32351dea1a8 (diff)
Some basic code maintenance in games/
- in main() replace exit with return - drop some /* NOTREACHED */ lint comments along the way. - make more use of standard CFLAGS, esp. -Wimplicit-function-declaration - add and sort some headers when needed - add straightforward pledges to some programs used at compile time discussed with and ok mestre@
Diffstat (limited to 'games/pom')
-rw-r--r--games/pom/pom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/pom/pom.c b/games/pom/pom.c
index 4beb4174ab0..e8e61792f48 100644
--- a/games/pom/pom.c
+++ b/games/pom/pom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pom.c,v 1.20 2016/01/04 17:33:24 mestre Exp $ */
+/* $OpenBSD: pom.c,v 1.21 2016/01/07 16:00:33 tb Exp $ */
/* $NetBSD: pom.c,v 1.6 1996/02/06 22:47:29 jtc Exp $ */
/*
@@ -130,7 +130,7 @@ main(int argc, char *argv[])
today);
}
}
- exit(0);
+ return 0;
}
/*