[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nmh-commits] nmh/uip picksbr.c
From: |
Peter Maydell |
Subject: |
[Nmh-commits] nmh/uip picksbr.c |
Date: |
Sun, 29 Apr 2007 22:57:36 +0000 |
CVSROOT: /cvsroot/nmh
Module name: nmh
Changes by: Peter Maydell <pm215> 07/04/29 22:57:36
Modified files:
uip : picksbr.c
Log message:
Rename functions to avoid clash with C library exp2().
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/nmh/uip/picksbr.c?cvsroot=nmh&r1=1.11&r2=1.12
Patches:
Index: picksbr.c
===================================================================
RCS file: /cvsroot/nmh/nmh/uip/picksbr.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- picksbr.c 22 Apr 2006 16:33:48 -0000 1.11
+++ picksbr.c 29 Apr 2007 22:57:36 -0000 1.12
@@ -2,7 +2,7 @@
/*
* picksbr.c -- routines to help pick along...
*
- * $Id: picksbr.c,v 1.11 2006/04/22 16:33:48 pgf Exp $
+ * $Id: picksbr.c,v 1.12 2007/04/29 22:57:36 pm215 Exp $
*
* This code is Copyright (c) 2002, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
@@ -196,9 +196,9 @@
static int tcompile();
static struct nexus *parse();
-static struct nexus *exp1();
-static struct nexus *exp2();
-static struct nexus *exp3();
+static struct nexus *nexp1();
+static struct nexus *nexp2();
+static struct nexus *nexp3();
static struct nexus *newnexus();
static int ORaction();
@@ -239,7 +239,7 @@
register char *cp;
register struct nexus *n, *o;
- if ((n = exp1 ()) == NULL || (cp = nxtarg ()) == NULL)
+ if ((n = nexp1 ()) == NULL || (cp = nxtarg ()) == NULL)
return n;
if (*cp != '-') {
@@ -275,12 +275,12 @@
}
static struct nexus *
-exp1 (void)
+nexp1 (void)
{
register char *cp;
register struct nexus *n, *o;
- if ((n = exp2 ()) == NULL || (cp = nxtarg ()) == NULL)
+ if ((n = nexp2 ()) == NULL || (cp = nxtarg ()) == NULL)
return n;
if (*cp != '-') {
@@ -303,7 +303,7 @@
case PRAND:
o = newnexus (ANDaction);
o->n_L_child = n;
- if ((o->n_R_child = exp1 ()))
+ if ((o->n_R_child = nexp1 ()))
return o;
padvise (NULL, "missing conjunctive");
return NULL;
@@ -317,7 +317,7 @@
static struct nexus *
-exp2 (void)
+nexp2 (void)
{
register char *cp;
register struct nexus *n;
@@ -327,7 +327,7 @@
if (*cp != '-') {
prvarg ();
- return exp3 ();
+ return nexp3 ();
}
if (*++cp == '-')
@@ -344,7 +344,7 @@
case PRNOT:
n = newnexus (NOTaction);
- if ((n->n_L_child = exp3 ()))
+ if ((n->n_L_child = nexp3 ()))
return n;
padvise (NULL, "missing negation");
return NULL;
@@ -352,12 +352,12 @@
header: ;
default:
prvarg ();
- return exp3 ();
+ return nexp3 ();
}
}
static struct nexus *
-exp3 (void)
+nexp3 (void)
{
int i;
register char *cp, *dp;
@@ -448,7 +448,7 @@
padvise (NULL, "missing argument to %s", argp[-2]);
return NULL;
}
- return exp3 ();
+ return nexp3 ();
case PRAFTR:
case PRBEFR:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Nmh-commits] nmh/uip picksbr.c,
Peter Maydell <=