diff options
author | Minje Ahn <minje.ahn@samsung.com> | 2015-06-08 12:43:27 +0900 |
---|---|---|
committer | Minje Ahn <minje.ahn@samsung.com> | 2015-06-08 15:22:41 +0900 |
commit | 9c534f334a71a5250c9411cc53c83cd72e3b7e74 (patch) | |
tree | cca701a14ae87449dab7de9e8ccbec23c6312554 /server/thumb-server.c | |
parent | be3906afcd5d61009fa339b320305b04b5e89c64 (diff) | |
download | libmedia-thumbnail-9c534f334a71a5250c9411cc53c83cd72e3b7e74.tar.gz libmedia-thumbnail-9c534f334a71a5250c9411cc53c83cd72e3b7e74.tar.bz2 libmedia-thumbnail-9c534f334a71a5250c9411cc53c83cd72e3b7e74.zip |
Remove unused code.
Change-Id: I9c8d472cff513d88c90b9558201d20f2fbad05c2
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
Diffstat (limited to 'server/thumb-server.c')
-rwxr-xr-x | server/thumb-server.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/server/thumb-server.c b/server/thumb-server.c index 4248f24..b64a3d6 100755 --- a/server/thumb-server.c +++ b/server/thumb-server.c @@ -27,9 +27,6 @@ #include <pthread.h> #include <heynoti.h> #include <vconf.h> -//#include <signal.h> -//#include <glib-unix.h> - #ifdef LOG_TAG #undef LOG_TAG @@ -38,7 +35,6 @@ #define LOG_TAG "MEDIA_THUMBNAIL_SERVER" #define POWEROFF_NOTI_NAME "power_off_start" /*poeroff noti from system-server*/ - extern GMainLoop *g_thumb_server_mainloop; static void _media_thumb_signal_handler(void *user_data) @@ -53,14 +49,13 @@ static void _media_thumb_signal_handler(void *user_data) return; } -int main() +int main(void) { - int sockfd = -1; - GSource *source = NULL; + GSource *source = NULL; GIOChannel *channel = NULL; - GMainContext *context = NULL; + GMainContext *context = NULL; /*heynoti for power off*/ int err = 0; |