findfile(): Remove duplicate declarations
authorAlexey Gladkov <gladkov.alexey@gmail.com>
Tue, 25 Jan 2011 00:31:42 +0000 (03:31 +0300)
committerAlexey Gladkov <gladkov.alexey@gmail.com>
Tue, 25 Jan 2011 00:31:42 +0000 (03:31 +0300)
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
src/loadkeys.c
src/loadkeys.y
src/paths.h

index 429cbc5..da47bcc 100644 (file)
@@ -2485,7 +2485,6 @@ lk_end_string(void) {
 
 char *dirpath[] = { "", DATADIR "/" KEYMAPDIR "/**", KERNDIR "/", 0 };
 char *suffixes[] = { "", ".kmap", ".map", 0 };
-extern FILE *findfile(char *fnam, char **dirpath, char **suffixes);
 
 #undef yywrap
 int
index fa9e101..c7ebd38 100644 (file)
@@ -682,7 +682,6 @@ lk_end_string(void) {
 
 char *dirpath[] = { "", DATADIR "/" KEYMAPDIR "/**", KERNDIR "/", 0 };
 char *suffixes[] = { "", ".kmap", ".map", 0 };
-extern FILE *findfile(char *fnam, char **dirpath, char **suffixes);
 
 #undef yywrap
 int
index 7937d84..087b79c 100644 (file)
@@ -25,9 +25,8 @@
 # define KERNDIR "/usr/src/linux/drivers/char"
 #endif
 
-extern FILE *findfile(char *fnam, char **dirpath, char **suffixes);
+#include "findfile.h"
 extern char pathname[];
-extern void fpclose(FILE *fp);
 
 extern int verbose;
 extern int debug;