From a6a7d6ce079cabdaf2fa502b2e2cf15e5428ac6f Mon Sep 17 00:00:00 2001 From: Jannis Hoffmann Date: Wed, 3 Jul 2024 15:52:39 +0200 Subject: format files --- src/fifo.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/fifo.c') diff --git a/src/fifo.c b/src/fifo.c index 5547294..f2da11e 100644 --- a/src/fifo.c +++ b/src/fifo.c @@ -1,9 +1,16 @@ -#include -#include #include "fifo.h" +#include +#include + #ifdef HASMKFIFO -int fifo_make(char *fn, int mode) { return mkfifo(fn,mode); } +int fifo_make(char *fn, int mode) +{ + return mkfifo(fn, mode); +} #else -int fifo_make(char *fn, int mode) { return mknod(fn,S_IFIFO | mode,0); } +int fifo_make(char *fn, int mode) +{ + return mknod(fn, S_IFIFO | mode, 0); +} #endif -- cgit v1.2.3