From 7c0d66ff6da42e72f06ea21d5bd9ed56a2cdcac4 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 12 Jul 2017 11:44:22 +0200 Subject: lib: Make read_msg static in cacep.c --- src/lib/cacep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/cacep.c b/src/lib/cacep.c index a2c5c3d2..19585126 100644 --- a/src/lib/cacep.c +++ b/src/lib/cacep.c @@ -34,8 +34,8 @@ typedef CacepMsg cacep_msg_t; #define BUF_SIZE 64 -int read_msg(int fd, - struct conn_info * info) +static int read_msg(int fd, + struct conn_info * info) { uint8_t buf[BUF_SIZE]; cacep_msg_t * msg; -- cgit v1.2.3 From 4282e49f55c7353e0fd0b1985b6f4b1072a91092 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 12 Jul 2017 11:46:03 +0200 Subject: lib: Fix formatting in irm.c --- src/lib/irm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/irm.c b/src/lib/irm.c index 68202ad9..9ee9e9e0 100644 --- a/src/lib/irm.c +++ b/src/lib/irm.c @@ -189,9 +189,8 @@ ssize_t irm_list_ipcps(const char * name, return -ENOMEM; } - for (i = 0; i < nr; i++) { + for (i = 0; i < nr; i++) (*apis)[i] = recv_msg->apis[i]; - } irm_msg__free_unpacked(recv_msg, NULL); -- cgit v1.2.3