Define is_listed() as static and add its prototype.
This commit is contained in:
@@ -34,13 +34,15 @@
|
||||
|
||||
#ident "$Id$"
|
||||
|
||||
/* local function prototypes */
|
||||
static int is_listed (const char *cfgin, const char *tty, int def);
|
||||
|
||||
/*
|
||||
* This is now rather generic function which decides if "tty" is listed
|
||||
* under "cfgin" in config (directly or indirectly). Fallback to default if
|
||||
* something is bad.
|
||||
*/
|
||||
int is_listed (const char *cfgin, const char *tty, int def)
|
||||
static int is_listed (const char *cfgin, const char *tty, int def)
|
||||
{
|
||||
FILE *fp;
|
||||
char buf[200], *cons, *s;
|
||||
|
Reference in New Issue
Block a user