Update of /export/home/ntop/ntop
In directory unknown:/tmp/cvs-serv25010

Modified Files:
        globals-core.c globals-core.h http.c ntop.c util.c 
Log Message:
Trivial #ifdef cleanups...

Push more and more stuff into the functions so that we don't have as many
#ifdefs in mainline code.



i.e. code like this:


void daemonizeUnderUnix(void) {
  
#ifndef WIN32
  int childpid;
...    
#endif
}


plus (in mainline code):


  daemonizeUnderUnix();



Instead of this:


#ifndef WIN32
void daemonize(void) {
  int childpid;
...
}
#endif


plus (in mainline code):


#ifndef WIN32
  daemonize();
#endif



-----Burton (refs 598, 602)



_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to