replace 'ifndef define' to 'pragam once'

This commit is contained in:
luwenpeng
2024-06-19 15:06:14 +08:00
parent c3fd452793
commit 48428e52fe
47 changed files with 47 additions and 188 deletions

View File

@@ -1,5 +1,4 @@
#ifndef _PACKET_IO_H
#define _PACKET_IO_H
#pragma once
#ifdef __cplusplus
extern "C"
@@ -87,5 +86,3 @@ struct io_stat *packet_io_stat(struct packet_io *packet_io, uint16_t thr_idx);
#ifdef __cplusplus
}
#endif
#endif