replace 'ifndef define' to 'pragam once'
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef _TUNNEL_H
|
||||
#define _TUNNEL_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@@ -59,5 +58,3 @@ int packet_get_tunnel_by_idx(const struct packet *pkt, int idx, struct tunnel *o
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user