summaryrefslogtreecommitdiff
path: root/usr/src/ucbcmd/sed/sed0.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-02-19 20:32:44 +0200
committerDan McDonald <danmcd@joyent.com>2018-07-19 13:02:24 -0400
commit566b4223c74de6cad48ddbedf35a12d6a511c8c5 (patch)
treedb4f509f3175250d49203878c8c1e0c08f92a5b9 /usr/src/ucbcmd/sed/sed0.c
parent65d28c0b2556a9bb47ed2b033469a4182ff5b488 (diff)
downloadillumos-gate-566b4223c74de6cad48ddbedf35a12d6a511c8c5.tar.gz
9133 ucbcmd: this statement may fall through
Reviewed by: Andrew Stormont <astormont@racktopsystems.com> Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Ken Mays <kmays2000@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/ucbcmd/sed/sed0.c')
-rw-r--r--usr/src/ucbcmd/sed/sed0.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/ucbcmd/sed/sed0.c b/usr/src/ucbcmd/sed/sed0.c
index 5be6112e36..1b5e3881bf 100644
--- a/usr/src/ucbcmd/sed/sed0.c
+++ b/usr/src/ucbcmd/sed/sed0.c
@@ -27,6 +27,7 @@
/* All Rights Reserved */
#include <stdio.h>
+#include <stdlib.h>
#include <sys/param.h>
#include "sed.h"
@@ -70,8 +71,6 @@ char TOOBIG[] = "Suffix too large - 512 max: %s";
extern int sed; /* IMPORTANT flag !!! */
extern char *comple();
-extern char *malloc();
-
static void dechain(void);
static void fcomp(void);