Skip to content

Commit

Permalink
nuke unused static function
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Feb 22, 2001
1 parent 313c781 commit ddc8daa
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions kame/kame/racoon/cftoken.l
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $KAME: cftoken.l,v 1.51 2001/02/22 01:11:42 sakane Exp $ */
/* $KAME: cftoken.l,v 1.52 2001/02/22 03:10:40 itojun Exp $ */

%{
#include <sys/types.h>
Expand Down Expand Up @@ -69,8 +69,6 @@ static struct include_stack {
static int incstackp = 0;

static int yy_first_time = 1;

static int yycf_count_nl __P((char *));
%}

/* common seciton */
Expand Down Expand Up @@ -482,21 +480,6 @@ no { YYD; yylval.num = FALSE; return(BOOLEAN); }

%%

static int
yycf_count_nl(p)
char *p;
{
int n = 0;

while (*p != NULL) {
if (*p == '\n')
n++;
p++;
}

return n;
}

void
yyerror(char *s, ...)
{
Expand Down

0 comments on commit ddc8daa

Please sign in to comment.