-/* $NetBSD: getinp.c,v 1.17 2008/02/23 20:12:15 dholland Exp $ */
+/* $NetBSD: getinp.c,v 1.19 2012/06/19 05:35:32 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)getinp.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: getinp.c,v 1.17 2008/02/23 20:12:15 dholland Exp $");
+__RCSID("$NetBSD: getinp.c,v 1.19 2012/06/19 05:35:32 dholland Exp $");
#endif
#endif /* not lint */
#include <stdio.h>
#include <string.h>
#include <ctype.h>
-#include "monop.ext"
+
+#include "monop.h"
#define LINE 70
static int comp(const char *);
int
-getinp(prompt, lst)
- const char *prompt, *const lst[];
+getinp(const char *prompt, const char *const lst [])
{
int i, n_match, match = 0;
char *sp;
}
static int
-comp(s1)
- const char *s1;
+comp(const char *s1)
{
const char *sp, *tsp;
char c;