Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/make Don't prefix include guards by _, suggested by ...
details: https://anonhg.NetBSD.org/src/rev/f045db832921
branches: trunk
changeset: 354010:f045db832921
user: maya <maya%NetBSD.org@localhost>
date: Wed May 31 22:02:06 2017 +0000
description:
Don't prefix include guards by _, suggested by riastradh
diffstat:
usr.bin/make/buf.h | 8 ++++----
usr.bin/make/dir.h | 8 ++++----
usr.bin/make/sprite.h | 8 ++++----
3 files changed, 12 insertions(+), 12 deletions(-)
diffs (78 lines):
diff -r 720621f8e33c -r f045db832921 usr.bin/make/buf.h
--- a/usr.bin/make/buf.h Wed May 31 21:15:47 2017 +0000
+++ b/usr.bin/make/buf.h Wed May 31 22:02:06 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: buf.h,v 1.18 2017/05/31 21:15:47 maya Exp $ */
+/* $NetBSD: buf.h,v 1.19 2017/05/31 22:02:06 maya Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -77,8 +77,8 @@
* Header for users of the buf library.
*/
-#ifndef _MAKE_BUF_H
-#define _MAKE_BUF_H
+#ifndef MAKE_BUF_H
+#define MAKE_BUF_H
typedef char Byte;
@@ -116,4 +116,4 @@
Byte *Buf_Destroy(Buffer *, Boolean);
Byte *Buf_DestroyCompact(Buffer *);
-#endif /* _MAKE_BUF_H */
+#endif /* MAKE_BUF_H */
diff -r 720621f8e33c -r f045db832921 usr.bin/make/dir.h
--- a/usr.bin/make/dir.h Wed May 31 21:15:47 2017 +0000
+++ b/usr.bin/make/dir.h Wed May 31 22:02:06 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dir.h,v 1.17 2017/05/31 21:15:47 maya Exp $ */
+/* $NetBSD: dir.h,v 1.18 2017/05/31 22:02:06 maya Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -75,8 +75,8 @@
/* dir.h --
*/
-#ifndef _MAKE_DIR_H
-#define _MAKE_DIR_H
+#ifndef MAKE_DIR_H
+#define MAKE_DIR_H
typedef struct Path {
char *name; /* Name of directory */
@@ -105,4 +105,4 @@
void Dir_Destroy(void *);
void * Dir_CopyDir(void *);
-#endif /* _MAKE_DIR_H */
+#endif /* MAKE_DIR_H */
diff -r 720621f8e33c -r f045db832921 usr.bin/make/sprite.h
--- a/usr.bin/make/sprite.h Wed May 31 21:15:47 2017 +0000
+++ b/usr.bin/make/sprite.h Wed May 31 22:02:06 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sprite.h,v 1.13 2017/05/31 21:15:47 maya Exp $ */
+/* $NetBSD: sprite.h,v 1.14 2017/05/31 22:02:06 maya Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -78,8 +78,8 @@
* Common constants and type declarations for Sprite.
*/
-#ifndef _MAKE_SPRITE_H
-#define _MAKE_SPRITE_H
+#ifndef MAKE_SPRITE_H
+#define MAKE_SPRITE_H
/*
@@ -113,4 +113,4 @@
#define SUCCESS 0x00000000
#define FAILURE 0x00000001
-#endif /* _MAKE_SPRITE_H */
+#endif /* MAKE_SPRITE_H */
Home |
Main Index |
Thread Index |
Old Index