]> git.webhop.me Git - lcd4linux.git/commitdiff
fix some compiler warnings
authormichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 12 Jan 2009 20:16:39 +0000 (20:16 +0000)
committermichux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 12 Jan 2009 20:16:39 +0000 (20:16 +0000)
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@954 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

plugin_fifo.c

index 7d3a3f58a260d1929bd642598550ed48d8c39c41..7a9553a0ff72989d9523ec95d8143bf840e54256 100644 (file)
@@ -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;