aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/socket.h')
-rw-r--r--include/osmocom/core/socket.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/osmocom/core/socket.h b/include/osmocom/core/socket.h
index cb1b7a82..1df28c92 100644
--- a/include/osmocom/core/socket.h
+++ b/include/osmocom/core/socket.h
@@ -1,5 +1,4 @@
-#ifndef _OSMOCORE_SOCKET_H
-#define _OSMOCORE_SOCKET_H
+#pragma once
/*! \defgroup socket Socket convenience functions
* @{
@@ -37,5 +36,3 @@ int osmo_sock_unix_init_ofd(struct osmo_fd *ofd, uint16_t type, uint8_t proto,
const char *socket_path, unsigned int flags);
/*! @} */
-
-#endif /* _OSMOCORE_SOCKET_H */