changeset 194:68a63ddfbe14

Advanced Rogue 5: don't declare getenv() in rogue.h. stdlib.h can declare it better.
author John "Elwin" Edwards
date Tue, 11 Aug 2015 12:28:17 -0400
parents 533f1882dcb6
children beab22b087a1
files arogue5/init.c arogue5/rogue.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/arogue5/init.c	Fri Aug 07 09:07:14 2015 -0400
+++ b/arogue5/init.c	Tue Aug 11 12:28:17 2015 -0400
@@ -15,6 +15,7 @@
 #include "curses.h"
 #include <ctype.h>
 #include <string.h>
+#include <stdlib.h>
 #include "rogue.h"
 #include "mach_dep.h"
 
--- a/arogue5/rogue.h	Fri Aug 07 09:07:14 2015 -0400
+++ b/arogue5/rogue.h	Tue Aug 11 12:28:17 2015 -0400
@@ -950,7 +950,7 @@
 struct room		*roomin();
 struct trap		*trap_at();
 
-char	*getenv(), *tr_name(), *new(), 
+char	*tr_name(), *new(), 
 	*vowelstr(), *inv_name(), 
 	*ctime(), *num(), *ring_num(), *misc_num(), *blesscurse(), *typ_name(),
 	*weap_name(), *misc_name();