From: Urban Wallasch Date: Sun, 4 Aug 2019 09:55:11 +0000 (+0200) Subject: * Fixed bracing style. X-Git-Tag: v0.1.0~41 X-Git-Url: https://git.packet-gain.de/?a=commitdiff_plain;h=c0432d282c9f635c63b29f4dc53019ab1493e4f9;p=ets2_tele.git * Fixed bracing style. --- diff --git a/shmget.c b/shmget.c index 243f32f..2500f1b 100644 --- a/shmget.c +++ b/shmget.c @@ -16,8 +16,7 @@ #include "log.h" -static void *init_shm_(int key, size_t size, int fl1, int fl2) -{ +static void *init_shm_(int key, size_t size, int fl1, int fl2) { int shmid; void *shmhnd; @@ -36,8 +35,7 @@ static void *init_shm_(int key, size_t size, int fl1, int fl2) } // Called by plugin to create the shared memory segment: -void *init_shmput(int key, size_t size) -{ +void *init_shmput(int key, size_t size) { return init_shm_( key, size, IPC_CREAT | IPC_EXCL | 0600, 0 ); } @@ -46,8 +44,7 @@ void *init_shmget(int key, size_t size) { return init_shm_( key, size, 0, SHM_RDONLY ); } -int release_shm(int key, void *p) -{ +int release_shm(int key, void *p) { int shmid; shmid = shmget(key, 0, 0);