summaryrefslogtreecommitdiff
path: root/debian/patches/0145-ftbfs-impfuncdef.patch
blob: 4e44b6b26261cf74d48a06be3b1381b2c5fb5c3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: trunk/include/sane/sanei_debug.h
===================================================================
--- trunk.orig/include/sane/sanei_debug.h
+++ trunk/include/sane/sanei_debug.h
@@ -95,7 +95,8 @@
 #ifdef NDEBUG
   
 extern void sanei_debug_ndebug (int level, const char *msg, ...);
-	
+
+
 # define DBG_LEVEL	(0)
 # define DBG_INIT()
 # define DBG		sanei_debug_ndebug
@@ -167,6 +168,9 @@ DBG_LOCAL (int level, const char *msg, .
 # define DBG            DBG_LOCAL
 
 extern void sanei_init_debug (const char * backend, int * debug_level_var);
+
+/* fix -Werror=implicit-function-declaration */
+int isfdtype(int fd, int fdtype);
   
                                   /** @hideinitializer*/
 # define IF_DBG(x)      x