* Fixed bracing style.
authorUrban Wallasch <urban.wallasch@freenet.de>
Sun, 4 Aug 2019 09:55:11 +0000 (11:55 +0200)
committerUrban Wallasch <urban.wallasch@freenet.de>
Sun, 4 Aug 2019 09:55:11 +0000 (11:55 +0200)
shmget.c

index 243f32f575c6d82b073856c0f1bbe0c88c77c5ae..2500f1bd9d8f3b48c47e1849f1b9b3142d16718e 100644 (file)
--- 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);