replace 'ifndef define' to 'pragam once'
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef _LAYER_H
|
||||
#define _LAYER_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@@ -90,5 +89,3 @@ int packet_get_layer_by_idx(const struct packet *pkt, int idx, struct layer *out
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user