summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-08-07 09:39:11 +0000
committerdfr <dfr@FreeBSD.org>1998-08-07 09:39:11 +0000
commit4e18c3d62f97e9ccd355ca39a111c2d78fa95fce (patch)
treeabd9097fe125e44d93f2cc9cfc0347c8d1bd537f
parentab90adf61af1d9eb4cec2f26b26e85b4b4ee877f (diff)
downloadFreeBSD-src-4e18c3d62f97e9ccd355ca39a111c2d78fa95fce.zip
FreeBSD-src-4e18c3d62f97e9ccd355ca39a111c2d78fa95fce.tar.gz
Silence some warnings when building on the alpha.
-rw-r--r--bin/ed/ed.h4
-rw-r--r--bin/ed/main.c4
-rw-r--r--bin/ed/sub.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/bin/ed/ed.h b/bin/ed/ed.h
index 1e77b38..05f65a9 100644
--- a/bin/ed/ed.h
+++ b/bin/ed/ed.h
@@ -25,7 +25,7 @@
* SUCH DAMAGE.
*
* @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp
- * $Id: ed.h,v 1.10 1997/02/22 14:03:14 peter Exp $
+ * $Id: ed.h,v 1.11 1997/12/10 22:18:23 eivind Exp $
*/
#include <sys/param.h> /* for MAXPATHLEN */
@@ -214,7 +214,7 @@ long exec_global __P((int, int));
void expand_des_key __P((char *, char *));
int extract_addr_range __P((void));
char *extract_pattern __P((int));
-int extract_subst_tail __P((int *, int *));
+int extract_subst_tail __P((int *, long *));
char *extract_subst_template __P((void));
int filter_lines __P((long, long, char *));
int flush_des_file __P((FILE *));
diff --git a/bin/ed/main.c b/bin/ed/main.c
index b9fca59..8468bbd 100644
--- a/bin/ed/main.c
+++ b/bin/ed/main.c
@@ -37,7 +37,7 @@ static char * const copyright =
static char * const rcsid = "@(#)main.c,v 1.1 1994/02/01 00:34:42 alm Exp";
#else
static char * const rcsid =
- "$Id: main.c,v 1.11 1997/08/07 21:33:43 steve Exp $";
+ "$Id: main.c,v 1.12 1997/10/08 14:47:56 eivind Exp $";
#endif
#endif /* not lint */
@@ -452,7 +452,7 @@ exec_command()
static pattern_t *pat = NULL;
static int sgflag = 0;
- static int sgnum = 0;
+ static long sgnum = 0;
pattern_t *tpat;
char *fnp;
diff --git a/bin/ed/sub.c b/bin/ed/sub.c
index 3877b00..e072548 100644
--- a/bin/ed/sub.c
+++ b/bin/ed/sub.c
@@ -31,7 +31,7 @@
static char * const rcsid = "@(#)sub.c,v 1.1 1994/02/01 00:34:44 alm Exp";
#else
static char * const rcsid =
- "$Id: sub.c,v 1.9 1997/02/22 14:03:19 peter Exp $";
+ "$Id: sub.c,v 1.10 1997/08/07 21:33:44 steve Exp $";
#endif
#endif /* not lint */
@@ -46,7 +46,7 @@ int rhbufi; /* rhs substitution buffer index */
int
extract_subst_tail(flagp, np)
int *flagp;
- int *np;
+ long *np;
{
char delimiter;
OpenPOWER on IntegriCloud