]> git.saurik.com Git - bison.git/blobdiff - src/files.c
* src/output.h: And put its extern declaration here.
[bison.git] / src / files.c
index 0dbcac37428584bccb6486fc714a64de2adc6f74..d86415216c41cedb7741c973f12addd8dbaf5987 100644 (file)
@@ -23,6 +23,7 @@
 #include "getargs.h"
 #include "files.h"
 #include "gram.h"
+#include "error.h"
 #include "complain.h"
 
 FILE *finput = NULL;
@@ -211,9 +212,9 @@ skeleton_find (const char *envvar, const char *skeleton_name)
   if (!res)
     {
       /* Skeleton file name without path */
-      const char *skel_name = strrchr(skeleton_name, '/');
+      const char *skel_name = strrchr (skeleton_name, '/');
       if (!skel_name)
-        skel_name = strrchr(skeleton_name, '\\');
+        skel_name = strrchr (skeleton_name, '\\');
       if (!skel_name)
         skel_name = skeleton_name;
       else