Browse code

fix dummy prototype (bb #1019)

git-svn: trunk@3850

Török Edvin authored on 2008/05/11 16:55:01
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Sat May 10 10:18:41 EEST 2008 (edwin)
2
+-------------------------------------
3
+  * clamd/session.c: fix dummy prototype (bb #1019)
4
+
1 5
 Fri May  9 23:11:51 EEST 2008 (edwin)
2 6
 -------------------------------------
3 7
   * build system: add configure checks for FD passing
... ...
@@ -104,9 +104,10 @@ static int recvfd_and_scan(int desc, const struct cl_engine *engine, const struc
104 104
 }
105 105
 
106 106
 #else
107
-static int recvfd_and_scan(int desc)
107
+static int recvfd_and_scan(int desc, const struct cl_engine *engine, const struct cl_limits *limits, unsigned int options, const struct cfgstruct *copt)
108 108
 {
109 109
 	mdprintf(desc, "ERROR: FILDES support not compiled in\n");
110
+	return -1;
110 111
 }
111 112
 #endif
112 113