replace 'ifndef define' to 'pragam once'
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
#ifndef _VLAN_UTILS_H
|
||||
#define _VLAN_UTILS_H
|
||||
#pragma once
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@@ -91,5 +90,3 @@ static inline int vlan_hdr_to_str(const struct vlan_hdr *hdr, char *buf, size_t
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user