sed: remove unused ecmp function
This commit is contained in:
parent
3426459ab5
commit
428cc541f8
1 changed files with 0 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue