From 32760d492a712d2413f6eaedf183acdfae280572 Mon Sep 17 00:00:00 2001 From: ceriel Date: Fri, 22 Oct 1993 14:09:28 +0000 Subject: [PATCH] Added prototype --- modules/src/idf/idf_pkg.body | 4 ++++ modules/src/idf/idf_pkg.spec | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/modules/src/idf/idf_pkg.body b/modules/src/idf/idf_pkg.body index db31ad811..19c2fb5ec 100644 --- a/modules/src/idf/idf_pkg.body +++ b/modules/src/idf/idf_pkg.body @@ -17,6 +17,10 @@ static struct idf *IDF_hashtable[IDF_HASHSIZE]; (variable, selector, structure tag, etc.). */ +#if __STDC__ +static struct idf *IDF_new(char *, int, int); +#endif + static struct idf * IDF_new(tg, size, cpy) register char *tg; diff --git a/modules/src/idf/idf_pkg.spec b/modules/src/idf/idf_pkg.spec index 5a4a5da9a..7fe7dbcda 100644 --- a/modules/src/idf/idf_pkg.spec +++ b/modules/src/idf/idf_pkg.spec @@ -37,6 +37,11 @@ struct idf { is used. 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(); +#endif #define findidf(tg) str2idf(tg, -1) -- 2.34.1