aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/serial.h')
-rw-r--r--include/osmocom/core/serial.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/osmocom/core/serial.h b/include/osmocom/core/serial.h
index 1640a6da..e3f7a9ff 100644
--- a/include/osmocom/core/serial.h
+++ b/include/osmocom/core/serial.h
@@ -28,8 +28,7 @@
* Osmocom serial port helpers
*/
-#ifndef __OSMO_SERIAL_H__
-#define __OSMO_SERIAL_H__
+#pragma once
#include <termios.h>
@@ -39,5 +38,3 @@ int osmo_serial_set_custom_baudrate(int fd, int baudrate);
int osmo_serial_clear_custom_baudrate(int fd);
/*! @} */
-
-#endif /* __OSMO_SERIAL_H__ */