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 be01654fe209c962adc6adc17ad90f4429ba5ac6..42025de30c087fcda7e56637b5fd1517b0a6053d 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 cc3de077ca8d3ea3676218c05831bf257bafe2bc..e0a39ac45c3fb768b719014e8a9b87026c1d88d6 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 5d83882994fa45e82dc54567801c4118b8ff14f6..e1fdae98b0d32032d2523c2df5c791250aa54d90 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 ae01e874bd4e90ba5dc01795039271f2ad864d9a..cc7a8a52487e8e30175503ffac54c667294f0a5c 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 aa3b3644a0dcb6e43b1406a9815fdecdeeba1f16..78bc0c0b039ad36adf31c76112ca1c0e0124ff14 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)
 {