summaryrefslogtreecommitdiffstats
path: root/usr.bin/m4
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 01:33:25 +0000
committerimp <imp@FreeBSD.org>2002-03-22 01:33:25 +0000
commit1698cb216e2d4ca62662103eba0191f134923698 (patch)
treebdbefa52f70f43a70ad528a58194f71ca4abf1e3 /usr.bin/m4
parent74d826c7a6e9f98072df5f7dba2b84aa516fe425 (diff)
downloadFreeBSD-src-1698cb216e2d4ca62662103eba0191f134923698.zip
FreeBSD-src-1698cb216e2d4ca62662103eba0191f134923698.tar.gz
remove __P
Diffstat (limited to 'usr.bin/m4')
-rw-r--r--usr.bin/m4/expr.c34
-rw-r--r--usr.bin/m4/extern.h60
2 files changed, 48 insertions, 46 deletions
diff --git a/usr.bin/m4/expr.c b/usr.bin/m4/expr.c
index 4b98e01..f63b4781 100644
--- a/usr.bin/m4/expr.c
+++ b/usr.bin/m4/expr.c
@@ -32,6 +32,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
+ *
+ * $FreeBSD$
*/
#ifndef lint
@@ -99,22 +101,22 @@ static char sccsid[] = "@(#)expr.c 8.1 (Berkeley) 6/6/93";
static char *nxtch; /* Parser scan pointer */
-static int query __P((void));
-static int lor __P((void));
-static int land __P((void));
-static int not __P((void));
-static int eqrel __P((void));
-static int shift __P((void));
-static int primary __P((void));
-static int term __P((void));
-static int exp __P((void));
-static int unary __P((void));
-static int factor __P((void));
-static int constant __P((void));
-static int num __P((void));
-static int geteqrel __P((void));
-static int skipws __P((void));
-static void experr __P((char *));
+static int query(void);
+static int lor(void);
+static int land(void);
+static int not(void);
+static int eqrel(void);
+static int shift(void);
+static int primary(void);
+static int term(void);
+static int exp(void);
+static int unary(void);
+static int factor(void);
+static int constant(void);
+static int num(void);
+static int geteqrel(void);
+static int skipws(void);
+static void experr(char *);
/*
* For longjmp
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h
index a9e51f7..2b54e3c 100644
--- a/usr.bin/m4/extern.h
+++ b/usr.bin/m4/extern.h
@@ -37,36 +37,36 @@
* $FreeBSD$
*/
-int expr __P((char *));
-ndptr addent __P((char *));
-void chrsave __P((int));
-void cleanup __P((int));
-void dochc __P((char *[], int));
-void dochq __P((char *[], int));
-void dodefine __P((char *, char *));
-void dodefn __P((char *));
-void dodiv __P((int));
-void dodump __P((char *[], int));
-void doifelse __P((char *[], int));
-int doincl __P((char *));
-int dopaste __P((char *));
-void dopushdef __P((char *, char *));
-void dosub __P((char *[], int));
-void doundiv __P((char *[], int));
-void eval __P((char *[], int, int));
-void expand __P((char *[], int));
-void getdiv __P((int));
-int hash __P((char *));
-int indx __P((char *, char *));
-void killdiv __P((void));
-ndptr lookup __P((char *));
-void map __P((char *, char *, char *, char *));
-void onintr __P((int));
-void pbnum __P((int));
-void pbstr __P((unsigned char *));
-void putback __P((int));
-void remhash __P((char *, int));
-void usage __P((void));
+int expr(char *);
+ndptr addent(char *);
+void chrsave(int);
+void cleanup(int);
+void dochc(char *[], int);
+void dochq(char *[], int);
+void dodefine(char *, char *);
+void dodefn(char *);
+void dodiv(int);
+void dodump(char *[], int);
+void doifelse(char *[], int);
+int doincl(char *);
+int dopaste(char *);
+void dopushdef(char *, char *);
+void dosub(char *[], int);
+void doundiv(char *[], int);
+void eval(char *[], int, int);
+void expand(char *[], int);
+void getdiv(int);
+int hash(char *);
+int indx(char *, char *);
+void killdiv(void);
+ndptr lookup(char *);
+void map(char *, char *, char *, char *);
+void onintr(int);
+void pbnum(int);
+void pbstr(unsigned char *);
+void putback(int);
+void remhash(char *, int);
+void usage(void);
extern ndptr hashtab[]; /* hash table for macros etc. */
extern stae mstack[]; /* stack of m4 machine */
OpenPOWER on IntegriCloud