replace 'ifndef define' to 'pragam once'
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef _PACKET_UTILS_H
|
||||
#define _PACKET_UTILS_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@@ -55,5 +54,3 @@ void layer_convert(const struct raw_layer *in, struct layer *out);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user