naming: added static keword at static variable. 61/151461/4
authorSegwon <segwon.han@samsung.com>
Thu, 21 Sep 2017 03:21:38 +0000 (12:21 +0900)
committerKibak Yoon <kibak.yoon@samsung.com>
Tue, 26 Sep 2017 01:54:49 +0000 (01:54 +0000)
Signed-off-by: Segwon <segwon.han@samsung.com>
Change-Id: Ia8e14e8164311f7b40bb146a185eb08d8aabafa7

src/peripheral_gdbus_gpio.c
src/peripheral_gdbus_i2c.c
src/peripheral_gdbus_pwm.c
src/peripheral_gdbus_spi.c
src/peripheral_gdbus_uart.c

index be01654..42025de 100644 (file)
@@ -25,7 +25,7 @@
 
 extern int peripheral_gpio_interrupted_cb_handler(int pin, int value, unsigned long long timestamp, int err);
 
-PeripheralIoGdbusGpio *gpio_proxy = NULL;
+static PeripheralIoGdbusGpio *gpio_proxy = NULL;
 
 static void __peripheral_gpio_interrupted_cb(PeripheralIoGdbusGpio *gpio, gint pin, gint value, guint64 timestamp, gpointer user_data)
 {
@@ -244,4 +244,4 @@ int peripheral_gdbus_gpio_write(peripheral_gpio_h gpio, int value)
        }
 
        return ret;
-}
\ No newline at end of file
+}
index cc3de07..e0a39ac 100644 (file)
@@ -23,7 +23,7 @@
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"
 
-PeripheralIoGdbusI2c *i2c_proxy = NULL;
+static PeripheralIoGdbusI2c *i2c_proxy = NULL;
 
 void i2c_proxy_init(void)
 {
index 5d83882..e1fdae9 100644 (file)
@@ -23,7 +23,7 @@
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"
 
-PeripheralIoGdbusPwm *pwm_proxy = NULL;
+static PeripheralIoGdbusPwm *pwm_proxy = NULL;
 
 void pwm_proxy_init(void)
 {
index ae01e87..cc7a8a5 100644 (file)
@@ -23,7 +23,7 @@
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"
 
-PeripheralIoGdbusSpi *spi_proxy = NULL;
+static PeripheralIoGdbusSpi *spi_proxy = NULL;
 
 void spi_proxy_init(void)
 {
index aa3b364..78bc0c0 100644 (file)
@@ -23,7 +23,7 @@
 #include "peripheral_internal.h"
 #include "peripheral_io_gdbus.h"
 
-PeripheralIoGdbusUart *uart_proxy = NULL;
+static PeripheralIoGdbusUart *uart_proxy = NULL;
 
 void uart_proxy_init(void)
 {