Don't declare things in more than one place. Move some declarations
between headers. Code is now fully prototyped and compiles cleanly with gcc -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wredundant-decls. Closes #723788.
This commit is contained in:
parent
46da1aec7a
commit
c1be5d8657
18 changed files with 35 additions and 270 deletions
|
@ -74,7 +74,13 @@ union trdgenstr {
|
|||
struct shpstr shp;
|
||||
};
|
||||
|
||||
s_char *trade_nameof(struct trdstr * tp, union trdgenstr * tgp);
|
||||
extern int trade_check_ok(int, struct trdstr *, union trdgenstr *);
|
||||
extern s_char *trade_nameof(struct trdstr *, union trdgenstr *);
|
||||
extern int trade_desc(struct trdstr *, union trdgenstr *);
|
||||
extern int trade_getitem(struct trdstr *, union trdgenstr *);
|
||||
extern long get_couval(int);
|
||||
extern long get_outstand(int);
|
||||
extern struct ichrstr *whichitem(char);
|
||||
|
||||
#define gettrade(n, p) \
|
||||
ef_read(EF_TRADE, n, (caddr_t)p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue