summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/serial.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2014-06-16 10:13:40 +0200
committerSylvain Munaut <tnt@246tNt.com>2014-06-16 10:17:27 +0200
commit12ba778afdb797575e05284decd34cf2c27e3647 (patch)
tree8e98b7859c8866d706af877cd9edac3e1db5a09f /include/osmocom/core/serial.h
parentb0a3c2f1de73cb3acd70f7c93be8fc7e8925f31e (diff)
include: Switch to #pragma once pattern
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
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__ */