diff options
author | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-01-12 20:16:39 +0000 |
---|---|---|
committer | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2009-01-12 20:16:39 +0000 |
commit | 9abd411a0ad35dbb3cddcdb88cf450492d378cd7 (patch) | |
tree | 9681b45551506131f3aa24a19f1a699cee556350 | |
parent | 18b2097e358fbfaadc363e0d728d8fc07271c583 (diff) | |
download | lcd4linux-9abd411a0ad35dbb3cddcdb88cf450492d378cd7.tar.gz |
fix some compiler warnings
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@954 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r-- | plugin_fifo.c | 10 |
1 files 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; |