summaryrefslogtreecommitdiffstats
path: root/hdlcutil
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-30 11:02:47 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-02-06 23:43:46 +0100
commita3d37e77b26dddbe7e86ae0e50ccc8f4361656e8 (patch)
treebd3a4368f800c06eb217955723063a7ed3f6044a /hdlcutil
parent7c9fe606581a7a8cdcfb99e6998c695c928560c6 (diff)
hdrvcomm: Make functions hdrvc_sendmsg and hdrvc_recvmsg static.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'hdlcutil')
-rw-r--r--hdlcutil/hdrvcomm.c4
1 files 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;