summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorftrvxmtrx <devnull@localhost>2014-05-07 14:43:11 +0200
committerftrvxmtrx <devnull@localhost>2014-05-07 14:43:11 +0200
commit428cc541f822e6f49ce26d970b5b030e8b1b696d (patch)
tree19d94cc3d548f3310d383f403e67f51d9be733cd /sys/src
parent3426459ab5a5a41497a62d90cd9ccdc0458e205e (diff)
sed: remove unused ecmp function
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/sed.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/src/cmd/sed.c b/sys/src/cmd/sed.c
index 790f2ed51..08b6cd7fb 100644
--- a/sys/src/cmd/sed.c
+++ b/sys/src/cmd/sed.c
@@ -177,7 +177,6 @@ Reprog *compile(void);
Rune *compsub(Rune *, Rune *);
void dechain(void);
void dosub(Rune *);
-int ecmp(Rune *, Rune *, int);
void enroll(char *);
void errexit(void);
int executable(SedCom *);
@@ -1324,13 +1323,6 @@ putline(Biobuf *bp, Rune *buf, int n)
Bputrune(bp, *buf++);
Bputc(bp, '\n');
}
-ecmp(Rune *a, Rune *b, int count)
-{
- while(count--)
- if(*a++ != *b++)
- return 0;
- return 1;
-}
void
arout(void)