From 9abd411a0ad35dbb3cddcdb88cf450492d378cd7 Mon Sep 17 00:00:00 2001 From: michux Date: Mon, 12 Jan 2009 20:16:39 +0000 Subject: fix some compiler warnings git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@954 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- plugin_fifo.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin_fifo.c b/plugin_fifo.c index 7d3a3f5..7a9553a 100644 --- a/plugin_fifo.c +++ b/plugin_fifo.c @@ -82,7 +82,7 @@ static void configure_fifo(void) } -static void removeFifo() +static void removeFifo(void) { debug("Removing FIFO \"%s\"\n", fd.path); if (unlink(fd.path) < 0) { @@ -93,7 +93,7 @@ static void removeFifo() } -static void closeFifo() +static void closeFifo(void) { struct stat st; if (fd.input >= 0) { @@ -104,7 +104,7 @@ static void closeFifo() removeFifo(); } -static int makeFifo() +static int makeFifo(void) { if (mkfifo(fd.path, 0666) < 0) { error("Couldn't create FIFO \"%s\": %s\n", fd.path, strerror(errno)); @@ -115,7 +115,7 @@ static int makeFifo() } -static int checkFifo() +static int checkFifo(void) { struct stat st; if (stat(fd.path, &st) < 0) { @@ -135,7 +135,7 @@ static int checkFifo() } -static int openFifo() +static int openFifo(void) { if (checkFifo() < 0) return -1; -- cgit v1.2.3