httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bh...@gensym.com (Ben Hyde)
Subject [PATCH] win32 main ought to return a value
Date Tue, 25 Nov 1997 13:09:58 GMT
Last night's build noticed a new warning on intel NT.

  .\os\win32\main_win32.c(16) : warning C4035: 'main' : no return value

This patch (compiled, linked, but not run) resolves it.  - ben

> cvs diff -u src/os/win32/main_win32.c 
Index: src/os/win32/main_win32.c
===================================================================
RCS file: /cvs/apachen/src/os/win32/main_win32.c,v
retrieving revision 1.1
diff -u -r1.1 main_win32.c
--- main_win32.c	1997/11/25 04:07:12	1.1
+++ main_win32.c	1997/11/25 19:18:36
@@ -12,5 +12,5 @@
 
 int main(int argc, char *argv[]) 
 {
-    apache_main(argc, argv);
+    return apache_main(argc, argv);
 }

Mime
View raw message