include: Switch to #pragma once pattern

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
diff --git a/include/osmocom/vty/buffer.h b/include/osmocom/vty/buffer.h
index c9467a9..482a919 100644
--- a/include/osmocom/vty/buffer.h
+++ b/include/osmocom/vty/buffer.h
@@ -20,8 +20,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#ifndef _ZEBRA_BUFFER_H
-#define _ZEBRA_BUFFER_H
+#pragma once
 
 #include <sys/types.h>
 
@@ -98,5 +97,3 @@
 */
 extern buffer_status_t buffer_flush_window(struct buffer *, int fd, int width,
 					   int height, int erase, int no_more);
-
-#endif				/* _ZEBRA_BUFFER_H */
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index b3b3029..3acbe78 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -20,8 +20,7 @@
  * Boston, MA 02111-1307, USA.
  */
 
-#ifndef _ZEBRA_COMMAND_H
-#define _ZEBRA_COMMAND_H
+#pragma once
 
 #include <stdio.h>
 #include <sys/types.h>
@@ -376,4 +375,3 @@
 extern void *tall_vty_cmd_ctx;
 
 /*! @} */
-#endif				/* _ZEBRA_COMMAND_H */
diff --git a/include/osmocom/vty/logging.h b/include/osmocom/vty/logging.h
index e0011bf..9e4b98f 100644
--- a/include/osmocom/vty/logging.h
+++ b/include/osmocom/vty/logging.h
@@ -1,5 +1,4 @@
-#ifndef _VTY_LOGGING_H
-#define _VTY_LOGGING_H
+#pragma once
 
 #define LOGGING_STR	"Configure log message to this terminal\n"
 #define FILTER_STR	"Filter log messages\n"
@@ -8,5 +7,3 @@
 void logging_vty_add_cmds(const struct log_info *cat);
 struct vty;
 struct log_target *osmo_log_vty2tgt(struct vty *vty);
-
-#endif /* _VTY_LOGGING_H */
diff --git a/include/osmocom/vty/misc.h b/include/osmocom/vty/misc.h
index db4f4a7..db552e7 100644
--- a/include/osmocom/vty/misc.h
+++ b/include/osmocom/vty/misc.h
@@ -1,5 +1,4 @@
-#ifndef OSMO_VTY_MISC_H
-#define OSMO_VTY_MISC_H
+#pragma once
 
 #include <osmocom/vty/vty.h>
 #include <osmocom/core/rate_ctr.h>
@@ -15,5 +14,3 @@
 
 int osmo_vty_write_config_file(const char *filename);
 int osmo_vty_save_config_file(void);
-
-#endif
diff --git a/include/osmocom/vty/telnet_interface.h b/include/osmocom/vty/telnet_interface.h
index 3c22201..e939ec7 100644
--- a/include/osmocom/vty/telnet_interface.h
+++ b/include/osmocom/vty/telnet_interface.h
@@ -18,8 +18,7 @@
  *
  */
 
-#ifndef TELNET_INTERFACE_H
-#define TELNET_INTERFACE_H
+#pragma once
 
 #include <osmocom/core/logging.h>
 #include <osmocom/core/select.h>
@@ -52,5 +51,3 @@
 void telnet_exit(void);
 
 /*! @} */
-
-#endif /* TELNET_INTERFACE_H */
diff --git a/include/osmocom/vty/vector.h b/include/osmocom/vty/vector.h
index 22a184d..7caa5ff 100644
--- a/include/osmocom/vty/vector.h
+++ b/include/osmocom/vty/vector.h
@@ -20,8 +20,7 @@
  * 02111-1307, USA.
  */
 
-#ifndef _ZEBRA_VECTOR_H
-#define _ZEBRA_VECTOR_H
+#pragma once
 
 /* struct for vector */
 struct _vector {
@@ -60,5 +59,3 @@
 void *vector_lookup_ensure(vector, unsigned int);
 
 extern void *tall_vty_vec_ctx;
-
-#endif				/* _ZEBRA_VECTOR_H */
diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h
index ea987bf..ea02e4a 100644
--- a/include/osmocom/vty/vty.h
+++ b/include/osmocom/vty/vty.h
@@ -1,5 +1,4 @@
-#ifndef _VTY_H
-#define _VTY_H
+#pragma once
 
 #include <stdio.h>
 #include <stdarg.h>
@@ -205,5 +204,3 @@
 };
 
 /*! @} */
-
-#endif