diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2013-10-25 21:57:11 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2013-10-25 21:57:11 +0000 |
commit | 3ce0e24f5af0ad73e4ed48788db11d02f0052333 (patch) | |
tree | d7681c89f1c4e1c7545755792880c7e60a705d8a | |
parent | def10dc7aa9ba0531c9342718772e2530a9f10eb (diff) |
start_time should be time_t, not int since it holds the reasult of
time(0). OK guenther@
-rw-r--r-- | games/atc/extern.c | 6 | ||||
-rw-r--r-- | games/atc/extern.h | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/games/atc/extern.c b/games/atc/extern.c index 313873f8c19..402aeb3c73b 100644 --- a/games/atc/extern.c +++ b/games/atc/extern.c @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.c,v 1.4 2009/10/27 23:59:23 deraadt Exp $ */ +/* $OpenBSD: extern.c,v 1.5 2013/10/25 21:57:10 millert Exp $ */ /* $NetBSD: extern.c,v 1.4 1995/04/27 21:22:19 mycroft Exp $ */ /*- @@ -46,7 +46,9 @@ char GAMES[] = "Game_List"; -int clck, safe_planes, start_time, test_mode, makenoise; +int clck, safe_planes, test_mode, makenoise; + +time_t start_time; const char *file; diff --git a/games/atc/extern.h b/games/atc/extern.h index f90a55a5653..0c7351b5892 100644 --- a/games/atc/extern.h +++ b/games/atc/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.6 2003/06/03 03:01:38 millert Exp $ */ +/* $OpenBSD: extern.h,v 1.7 2013/10/25 21:57:10 millert Exp $ */ /* $NetBSD: extern.h,v 1.4 1995/04/27 21:22:22 mycroft Exp $ */ /*- @@ -47,7 +47,9 @@ extern char GAMES[]; extern const char *file; -extern int clck, safe_planes, start_time, test_mode, makenoise; +extern int clck, safe_planes, test_mode, makenoise; + +extern time_t start_time; extern FILE *filein, *fileout; |