diff options
author | Oleg Zhurakivskyy <oleg.zhurakivskyy@intel.com> | 2014-08-29 12:47:51 +0300 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2014-09-08 00:40:51 +0200 |
commit | 079de7639e3067320c84b7a94dafb9f24cbf567c (patch) | |
tree | 57fbbc9c82ee8ce8c5631dd8cc852f31ed3f76fd /ncl/ncl.c | |
parent | 09592ef6b9321738c03ca87625fd1152802457c6 (diff) | |
download | neardal-079de7639e3067320c84b7a94dafb9f24cbf567c.tar.gz neardal-079de7639e3067320c84b7a94dafb9f24cbf567c.tar.bz2 neardal-079de7639e3067320c84b7a94dafb9f24cbf567c.zip |
Remove unused code.
Diffstat (limited to 'ncl/ncl.c')
-rw-r--r-- | ncl/ncl.c | 23 |
1 files changed, 1 insertions, 22 deletions
@@ -332,31 +332,10 @@ void ncl_finalize(void) g_main_loop_unref(gNclCtx.main_loop); } -/* -static void signal_handler(int signum) -{ - NCL_CMD_PRINTERR("Receive signal %d\n", signum); -} -*/ static NCLError ncl_prv_init(char *execCmdLineStr) { -/* struct sigaction sa; - int err = NCLERR_NOERROR; */ - - /* Initialize Test App context... */ + /* Initialize Test App context */ memset(&gNclCtx, 0, sizeof(gNclCtx)); - -/* - sa.sa_handler = signal_handler; - sigemptyset(&sa.sa_mask); - sa.sa_flags = SA_RESTART; - if (sigaction(SIGINT, &sa, NULL) == -1) - { - NCL_CMD_PRINTERR("Unable to handle system signals\n"); - return NCLERR_INIT; - } -*/ - gNclCtx.main_loop = g_main_loop_new(NULL, FALSE); /* Initialize command line interpretor context */ |