(item_by_name): New, factored out of whatitem(). Use it to simplify
some uses of whatitem().
This commit is contained in:
parent
e42f7e8210
commit
a8a6f5649f
4 changed files with 34 additions and 14 deletions
|
@ -52,6 +52,7 @@ extern struct ichrstr ichr[];
|
|||
|
||||
/* procedures using/returning this struct */
|
||||
|
||||
extern struct ichrstr *whatitem(s_char *ptr, s_char *prompt);
|
||||
extern struct ichrstr *whatitem(char *, char *);
|
||||
extern struct ichrstr *item_by_name(char *);
|
||||
|
||||
#endif /* _ITEM_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue