Commit b16d274f authored by Benny Baumann's avatar Benny Baumann
Browse files

del: Remove usage: We simply run

parent fe29c93b
......@@ -32,11 +32,6 @@ struct {
static char iobuf[16384] = { 0 };
static struct iovec iov[1024];
void usage( char* name ) {
fprintf( stderr, "usage: %s [-h]\n", name );
exit( -1 );
}
int add_epoll( int events, int fd ) {
int rc;
struct epoll_event ev;
......@@ -150,15 +145,6 @@ int main( int argc, char *argv[] ) {
cfg.port = 9;
while( ( opt = getopt( argc, argv, "h" ) ) != -1 ) {
switch( opt ) {
case 'h':
default:
usage( argv[0] );
break;
}
}
sigset_t all;
sigfillset( &all );
sigprocmask( SIG_SETMASK, &all, NULL );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment