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 429cbc5a973721b618321ef7c65bcd1d5da62037..da47bcc8d8c2c847f106c77b239d1d5f0e0e359a 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 fa9e1018d686cf28cead6d6765423aabfe34f512..c7ebd38fee3a3f19cfb2bb1cf0e877b893214d97 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 7937d844c25b7e68dccc9a2ae064d9cb923804c4..087b79ca2da8676463677fe055a25d4e51abc822 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;