Advanced Rogue 5: don't declare getenv() in rogue.h.
stdlib.h can declare it better.
This commit is contained in:
parent
1713cb840c
commit
6fda9fb94b
2 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
#include "curses.h"
|
#include "curses.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include "rogue.h"
|
#include "rogue.h"
|
||||||
#include "mach_dep.h"
|
#include "mach_dep.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -950,7 +950,7 @@ struct object *wield_weap();
|
||||||
struct room *roomin();
|
struct room *roomin();
|
||||||
struct trap *trap_at();
|
struct trap *trap_at();
|
||||||
|
|
||||||
char *getenv(), *tr_name(), *new(),
|
char *tr_name(), *new(),
|
||||||
*vowelstr(), *inv_name(),
|
*vowelstr(), *inv_name(),
|
||||||
*ctime(), *num(), *ring_num(), *misc_num(), *blesscurse(), *typ_name(),
|
*ctime(), *num(), *ring_num(), *misc_num(), *blesscurse(), *typ_name(),
|
||||||
*weap_name(), *misc_name();
|
*weap_name(), *misc_name();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue