/// ***** Private Method Headers *****
-void sighandler( int sig );
+static void sighandler( int iSig );
/// ***** Public Methods *****
/// ***** Private Methods *****
// signal handler function
-void sighandler( int sig )
+void sighandler( int iSig )
{
#ifndef __WIN32__
- switch(sig)
+ switch(iSig)
{
case SIGINT:
std::cerr << "SIGINT caught" << std::endl;
}
// normally an abort is better ... but this is just SIGINT
- exit(sig);
+ exit(iSig);
#endif // __WIN32__
}