deviced: Remove build warnings and do not use thread unsafey functions 01/44301/2
authorJiyoung Yun <jy910.yun@samsung.com>
Tue, 21 Jul 2015 01:10:07 +0000 (10:10 +0900)
committerJiyoung Yun <jy910.yun@samsung.com>
Tue, 21 Jul 2015 11:18:24 +0000 (20:18 +0900)
commite866798d02aa696ac131ca4a965c7ac23087aecf
tree518a1edeacf3332725b02ba8ea8cb931a5b4b610
parent87d5ec37ae4c5a69054dda39f9530a4eb2b83088
deviced: Remove build warnings and do not use thread unsafey functions

Thread unsafety functions:
readdir, strerror
Keep the kernel's checkpatch.pl guideline.
Remove build warnings and unused codes.

Change-Id: I79d2442d77531c6ff9e4c6decc862019e7b3e4a4
Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
51 files changed:
LICENSE [moved from LICENSE.Apache-2.0 with 100% similarity]
NOTICE
checkpatch.pl [new file with mode: 0755]
packaging/deviced.spec
src/bs/bs.c [deleted file]
src/control/control.c
src/core/common.c
src/core/common.h
src/core/config-parser.c
src/core/device-idler.c
src/core/device-notifier.c
src/core/edbus-handler.c
src/core/execute.c
src/core/launch.c
src/core/launch.h
src/core/log.c
src/core/sig-handler.c
src/core/udev.c
src/core/udev.h
src/devicectl/devicectl.c
src/devicectl/usb.c
src/display/setting.h
src/extcon/earjack.c
src/extcon/extcon.c
src/extcon/hdmi.c
src/fsck-msdos/CMakeLists.txt
src/fsck-msdos/LICENSE.BSD-1.0 [moved from src/newfs-msdos/LICENSE with 100% similarity]
src/gpio/buzzer.c [deleted file]
src/gpio/gpio.c [deleted file]
src/gpio/gpio.h [deleted file]
src/gpio/hall.c [deleted file]
src/gpio/sim.c [deleted file]
src/haptic/external.c
src/haptic/haptic.c
src/haptic/standard.c
src/led/ir.c
src/led/noti.c
src/led/touch-key.c
src/newfs-msdos/CMakeLists.txt
src/newfs-msdos/LICENSE.BSD-2-Clause [moved from src/fsck-msdos/LICENSE with 100% similarity]
src/proc/cpu-info.c
src/proc/pmon-handler.c [deleted file]
src/proc/proc-handler.c
src/proc/proc-handler.h
src/restarter/CMakeLists.txt
src/restarter/restart.c
src/shared/dbus.c
src/telephony/telephony.c
src/time/time-handler.c
src/usb/usb-default.c
src/usbhost/usb-host.c