mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
use ‚#pragma once‘ instead of ‚#ifdef‘
This commit is contained in:
parent
4504fcc827
commit
788a55da27
1 changed files with 3 additions and 3 deletions
|
@ -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_ */
|
||||
|
||||
/** @} */
|
Loading…
Add table
Reference in a new issue