diff options
author | ginsbach <ginsbach@NetBSD.org> | 2009-05-06 02:59:12 +0000 |
---|---|---|
committer | ginsbach <ginsbach@NetBSD.org> | 2009-05-06 02:59:12 +0000 |
commit | e8985734d6cda50f61728ddbd81adc332fce3c58 (patch) | |
tree | 609c916c216c63c75eaad4ee46f3f06872e5da2c /hack/extern.h | |
parent | b3e8593d74de9b7b5539da1eaee69030b0ac6506 (diff) | |
download | bsdgames-darwin-e8985734d6cda50f61728ddbd81adc332fce3c58.tar.gz bsdgames-darwin-e8985734d6cda50f61728ddbd81adc332fce3c58.tar.zst bsdgames-darwin-e8985734d6cda50f61728ddbd81adc332fce3c58.zip |
Change getdate() to getdatestr() since the former maybe present on systems
supporting X/Open System Interfaces Extension (XSI) getdate() in <time.h>.
This prevents a function prototype conflict.
Diffstat (limited to 'hack/extern.h')
-rw-r--r-- | hack/extern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hack/extern.h b/hack/extern.h index ce4dd452..18cd2540 100644 --- a/hack/extern.h +++ b/hack/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.9 2009/01/18 00:34:03 lukem Exp $ */ +/* $NetBSD: extern.h,v 1.10 2009/05/06 02:59:12 ginsbach Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -576,7 +576,7 @@ int role_index(int); void setrandom(void); struct tm *getlt(void); int getyear(void); -char *getdate(void); +char *getdatestr(void); int phase_of_the_moon(void); int night(void); int midnight(void); |