Fix visibility of delegate ctor 01/208001/1
authorHwankyu Jhun <h.jhun@samsung.com>
Sun, 16 Jun 2019 23:21:28 +0000 (08:21 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Sun, 16 Jun 2019 23:21:48 +0000 (08:21 +0900)
To hide a constructor of the delegates, this patch uses 'static'
keyword.

Change-Id: I6458ce2f0bc42e23a461af79dd045ef8b7583428
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
idlc/c_gen/c_stub_body_gen_cb.h

index d9ee148..7c77b83 100644 (file)
@@ -249,7 +249,7 @@ struct $$_s {
 
 const char CB_INTERFACE_DELEGATOR_CTOR[] =
 R"__c_cb(
-int rpc_port_##_create(rpc_port_##_h *h)
+static int rpc_port_##_create(rpc_port_##_h *h)
 {
     struct ##_s *handle;
     static int seq_num;