dgaudet 98/02/07 02:27:53
Modified: src/main http_main.c
Log:
Eliminate compiler warnings that would surely cause us a half-dozen
bug reports from concerned citizens everywhere.
Revision Changes Path
1.283 +3 -2 apache-1.3/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.282
retrieving revision 1.283
diff -u -r1.282 -r1.283
--- http_main.c 1998/02/07 02:29:17 1.282
+++ http_main.c 1998/02/07 10:27:52 1.283
@@ -85,6 +85,7 @@
#include "http_conf_globals.h"
#include "http_core.h" /* for get_remote_host */
#include "http_vhost.h"
+#include "util_script.h" /* to force util_script.c linking */
#include "scoreboard.h"
#include "multithread.h"
#include <sys/stat.h>
@@ -146,8 +147,8 @@
* includes the full Apache API. Without this function the objects in
* main/util_script.c would not be linked into a minimal httpd.
*/
-static void force_library_loading(void) {
- add_cgi_vars(NULL,NULL);
+void force_library_loading(void) {
+ add_cgi_vars(NULL);
}
#include "explain.h"