Also close bug
[filters.git] / nyc.l
diff --git a/nyc.l b/nyc.l
index 509979e5298647d6f554fa4522407cf68528345d..ddc5dbeaa5142e9434d357aaf90e72347a4ab022 100644 (file)
--- a/nyc.l
+++ b/nyc.l
@@ -12,10 +12,13 @@ BW [ \t]
 SP [ \t]
 EW [ \t.,;!\?$]
 
-%%
 %{
-    void plastc();
+    void plastc(void);
+    char caseify(char);
+    void expletive(void);
 %}
+
+%%
 ".so ".*$                      printf("%s", yytext);
 [ao]ther                       printf("%cdder", yytext[0]=='a'?'a':'u');
 [Nn]othing                     printf("%cuttin'", yytext[0]);
@@ -76,7 +79,7 @@ void plastc()
     yyunput(yytext[yyleng-1], yytext);
 }
 
-caseify(c)
+char caseify(c)
 char c;
 {
        if (yytext[0] <= 'Z')
@@ -88,7 +91,7 @@ char c;
 short  count = 0;
 short  which = 0;
 
-expletive()
+void expletive()
 {
        if (count++ % 4 == 0) {
                switch (which++ % 5) {
This page took 0.009686 seconds and 4 git commands to generate.