From a3d37e77b26dddbe7e86ae0e50ccc8f4361656e8 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 30 Jan 2017 11:02:47 +0100 Subject: hdrvcomm: Make functions hdrvc_sendmsg and hdrvc_recvmsg static. Signed-off-by: Ralf Baechle --- hdlcutil/hdrvcomm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hdlcutil/hdrvcomm.c b/hdlcutil/hdrvcomm.c index 2e41ddb..1e0b806 100644 --- a/hdlcutil/hdrvcomm.c +++ b/hdlcutil/hdrvcomm.c @@ -243,7 +243,7 @@ void hdrvc_init(void) /* ---------------------------------------------------------------------- */ -void hdrvc_sendmsg(struct usersmmsg *msg, int len) +static void hdrvc_sendmsg(struct usersmmsg *msg, int len) { if (msgsnd(msqid, (struct msgbuf *)msg, len+sizeof(msg->hdr)-sizeof(long), 0) < 0) { perror("msgsnd"); @@ -251,7 +251,7 @@ void hdrvc_sendmsg(struct usersmmsg *msg, int len) } } -int hdrvc_recvmsg(struct usersmmsg *msg, int maxlen, long type) +static int hdrvc_recvmsg(struct usersmmsg *msg, int maxlen, long type) { int len; -- cgit v1.2.3