summaryrefslogtreecommitdiff
path: root/utils/lndir
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lndir')
-rw-r--r--utils/lndir/lndir-Xos.h5
-rw-r--r--utils/lndir/lndir-Xosdefs.h5
2 files changed, 2 insertions, 8 deletions
diff --git a/utils/lndir/lndir-Xos.h b/utils/lndir/lndir-Xos.h
index e91e959c73..c6d1e3652c 100644
--- a/utils/lndir/lndir-Xos.h
+++ b/utils/lndir/lndir-Xos.h
@@ -21,8 +21,7 @@
* in a "signficant" number of source files.
*/
-#ifndef _XOS_H_
-#define _XOS_H_
+#pragma once
#include "lndir-Xosdefs.h"
@@ -148,5 +147,3 @@ struct timezone {
#ifdef ISC
#include <sys/bsdtypes.h>
#endif
-
-#endif /* _XOS_H_ */
diff --git a/utils/lndir/lndir-Xosdefs.h b/utils/lndir/lndir-Xosdefs.h
index e21db4b24e..7e232c97c5 100644
--- a/utils/lndir/lndir-Xosdefs.h
+++ b/utils/lndir/lndir-Xosdefs.h
@@ -23,8 +23,7 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#ifndef _XOSDEFS_H_
-#define _XOSDEFS_H_
+#pragma once
/*
* X_NOT_STDC_ENV means does not have ANSI C header files. Lack of this
@@ -95,5 +94,3 @@
#define X_NOT_STDC_ENV
#endif
#endif
-
-#endif /* _XOSDEFS_H_ */