summaryrefslogtreecommitdiff
path: root/usr/src/ucbcmd/sed/sed1.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/ucbcmd/sed/sed1.c')
-rw-r--r--usr/src/ucbcmd/sed/sed1.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/src/ucbcmd/sed/sed1.c b/usr/src/ucbcmd/sed/sed1.c
index c5f5d89144..c4777340df 100644
--- a/usr/src/ucbcmd/sed/sed1.c
+++ b/usr/src/ucbcmd/sed/sed1.c
@@ -27,10 +27,8 @@
/* Copyright (c) 1984 AT&T */
/* All Rights Reserved */
-
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <stdio.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -667,7 +665,7 @@ char *ep;
return(p);
}
-int
+void
regerr(int err)
{
switch(err) {
@@ -726,7 +724,6 @@ regerr(int err)
exit(2);
break;
}
- return (0);
}
static void