From 788a55da271a0a2fb27d59ea573517bf32c8ba0e Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 15 Apr 2017 18:02:44 +0200 Subject: [PATCH] =?UTF-8?q?use=20=E2=80=9A#pragma=20once=E2=80=98=20instea?= =?UTF-8?q?d=20of=20=E2=80=9A#ifdef=E2=80=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/villas/nodes/shmem.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/villas/nodes/shmem.h b/include/villas/nodes/shmem.h index 83df54adf..23357e11f 100644 --- a/include/villas/nodes/shmem.h +++ b/include/villas/nodes/shmem.h @@ -1,5 +1,3 @@ -#ifndef _SHMEM_H_ -#define _SHMEM_H_ /** Node-type for shared memory communication. * * @file @@ -13,6 +11,7 @@ * @{ */ +#pragma once #include "node.h" #include "memory.h" @@ -47,4 +46,5 @@ int shmem_close(struct node *n); int shmem_read(struct node *n, struct sample *smps[], unsigned cnt); int shmem_write(struct node *n, struct sample *smps[], unsigned cnt); -#endif /* _SHMEM_H_ */ + +/** @} */ \ No newline at end of file