Added prototype

This commit is contained in:
ceriel 1993-10-22 14:09:28 +00:00
parent 4ec65def3f
commit 32760d492a
2 changed files with 9 additions and 0 deletions

View file

@ -17,6 +17,10 @@ static struct idf *IDF_hashtable[IDF_HASHSIZE];
(variable, selector, structure tag, etc.). (variable, selector, structure tag, etc.).
*/ */
#if __STDC__
static struct idf *IDF_new(char *, int, int);
#endif
static struct idf * static struct idf *
IDF_new(tg, size, cpy) IDF_new(tg, size, cpy)
register char *tg; register char *tg;

View file

@ -37,6 +37,11 @@ struct idf {
is used. is used.
If cp < 0, the string is not entered, but only looked for. If cp < 0, the string is not entered, but only looked for.
*/ */
#if __STDC__ > 0
struct idf *str2idf(char *, int);
#else
extern struct idf * str2idf(); extern struct idf * str2idf();
#endif
#define findidf(tg) str2idf(tg, -1) #define findidf(tg) str2idf(tg, -1)