logo       

current jcc.c,1.162,1.163: msg#00048

web.privoxy.cvs

Subject: current jcc.c,1.162,1.163

Update of /cvsroot/ijbswa/current
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv10439

Modified Files:
jcc.c
Log Message:
Make sure all console-mode apps get a usage() instance

Index: jcc.c
===================================================================
RCS file: /cvsroot/ijbswa/current/jcc.c,v
retrieving revision 1.162
retrieving revision 1.163
diff -u -d -r1.162 -r1.163
--- jcc.c 6 Dec 2007 17:54:57 -0000 1.162
+++ jcc.c 13 Dec 2007 01:47:11 -0000 1.163
@@ -33,6 +33,9 @@
*
* Revisions :
* $Log$
+ * Revision 1.163 2007/12/13 01:47:11 david__schmidt
+ * Make sure all console-mode apps get a usage() instance
+ *
* Revision 1.162 2007/12/06 17:54:57 fabiankeil
* Reword NO_SERVER_DATA_RESPONSE to make it harder
* to misunderstand what the message is all about.
@@ -1057,7 +1060,7 @@
static jb_err change_request_destination(struct client_state *csp);
static void chat(struct client_state *csp);
static void serve(struct client_state *csp);
-#if defined(unix)
+#if !defined(_WIN32) || defined(_WIN_CONSOLE)
static void usage(const char *myname);
#endif
static void initialize_mutexes(void);
@@ -2840,7 +2843,7 @@
#endif


-#if defined(unix)
+#if !defined(_WIN32) || defined(_WIN_CONSOLE)
/*********************************************************************
*
* Function : usage
@@ -2869,7 +2872,7 @@
exit(2);

}
-#endif /* defined(unix) */
+#endif /* #if !defined(_WIN32) || defined(_WIN_CONSOLE) */


/*********************************************************************


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise