make gcc -ansi compatible

This commit is contained in:
leitner 2009-01-04 03:11:57 +00:00
parent 10ab3bf70a
commit 3a05576274

View File

@ -55,8 +55,8 @@ int socket_mcloop6(int s,char loop);
* no data available. So far, DATAIN is supported on FreeBSD and Linux,
* and HTTPIN is supported on FreeBSD. */
enum defermode {
DATAIN, // only signal accept() if there is data coming in
HTTPIN, // only signal accept() if a HTTP header has come in
DATAIN, /* only signal accept() if there is data coming in */
HTTPIN, /* only signal accept() if a HTTP header has come in */
};
void socket_deferaccept(int s,enum defermode mode);