diff options
author | 2016-01-01 15:56:03 +0000 | |
---|---|---|
committer | 2016-01-01 15:56:03 +0000 | |
commit | 43a866b79e6a985772951ae8caed58538791d9e2 (patch) | |
tree | 50d88aa835c935bb4d4df8f9e0e321ea49af7e82 | |
parent | Sync formatting and a few comments with upstream. No functional change. (diff) | |
download | wireguard-openbsd-43a866b79e6a985772951ae8caed58538791d9e2.tar.xz wireguard-openbsd-43a866b79e6a985772951ae8caed58538791d9e2.zip |
don't declar main. from Michal Mazurek
-rw-r--r-- | bin/pax/extern.h | 3 | ||||
-rw-r--r-- | games/adventure/extern.h | 5 | ||||
-rw-r--r-- | games/battlestar/battlestar.c | 4 |
3 files changed, 3 insertions, 9 deletions
diff --git a/bin/pax/extern.h b/bin/pax/extern.h index 12a939157cb..d2d413baf3f 100644 --- a/bin/pax/extern.h +++ b/bin/pax/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.53 2015/03/19 05:14:24 guenther Exp $ */ +/* $OpenBSD: extern.h,v 1.54 2016/01/01 15:56:03 tedu Exp $ */ /* $NetBSD: extern.h,v 1.5 1996/03/26 23:54:16 mrg Exp $ */ /*- @@ -246,7 +246,6 @@ extern char *tempfile; extern char *tempbase; extern int havechd; -int main(int, char **); void sig_cleanup(int); /* diff --git a/games/adventure/extern.h b/games/adventure/extern.h index 6ce753619c0..d92261d9b18 100644 --- a/games/adventure/extern.h +++ b/games/adventure/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.8 2015/12/26 00:26:39 mestre Exp $ */ +/* $OpenBSD: extern.h,v 1.9 2016/01/01 15:56:04 tedu Exp $ */ /* $NetBSD: extern.h,v 1.3 1997/10/11 01:55:27 lukem Exp $ */ /* @@ -72,9 +72,6 @@ struct text; void speak(const struct text *); void pspeak(int, int); -/* main.c */ -int main(int, char **); - /* save.c */ int save(const char *); int restore(const char *); diff --git a/games/battlestar/battlestar.c b/games/battlestar/battlestar.c index d65ca855e52..56bccd1fe87 100644 --- a/games/battlestar/battlestar.c +++ b/games/battlestar/battlestar.c @@ -1,4 +1,4 @@ -/* $OpenBSD: battlestar.c,v 1.19 2015/12/31 17:51:19 mestre Exp $ */ +/* $OpenBSD: battlestar.c,v 1.20 2016/01/01 15:56:04 tedu Exp $ */ /* $NetBSD: battlestar.c,v 1.3 1995/03/21 15:06:47 cgd Exp $ */ /* @@ -44,8 +44,6 @@ #include "extern.h" #include "pathnames.h" -int main(int, char *[]); - int main(int argc, char *argv[]) { |