Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make Use less generic include guards



details:   https://anonhg.NetBSD.org/src/rev/4239eb0b4171
branches:  trunk
changeset: 824309:4239eb0b4171
user:      maya <maya%NetBSD.org@localhost>
date:      Wed May 31 21:07:03 2017 +0000

description:
Use less generic include guards

diffstat:

 usr.bin/make/dir.h    |  8 ++++----
 usr.bin/make/hash.h   |  8 ++++----
 usr.bin/make/sprite.h |  8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)

diffs (78 lines):

diff -r a94c654e827d -r 4239eb0b4171 usr.bin/make/dir.h
--- a/usr.bin/make/dir.h        Wed May 31 17:56:00 2017 +0000
+++ b/usr.bin/make/dir.h        Wed May 31 21:07:03 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dir.h,v 1.15 2012/04/07 18:29:08 christos Exp $        */
+/*     $NetBSD: dir.h,v 1.16 2017/05/31 21:07:03 maya Exp $    */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -75,8 +75,8 @@
 /* dir.h --
  */
 
-#ifndef        _DIR
-#define        _DIR
+#ifndef        _DIR_H
+#define        _DIR_H
 
 typedef struct Path {
     char         *name;                /* Name of directory */
@@ -105,4 +105,4 @@
 void Dir_Destroy(void *);
 void * Dir_CopyDir(void *);
 
-#endif /* _DIR */
+#endif /* _DIR_H */
diff -r a94c654e827d -r 4239eb0b4171 usr.bin/make/hash.h
--- a/usr.bin/make/hash.h       Wed May 31 17:56:00 2017 +0000
+++ b/usr.bin/make/hash.h       Wed May 31 21:07:03 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hash.h,v 1.11 2016/06/07 00:40:00 sjg Exp $    */
+/*     $NetBSD: hash.h,v 1.12 2017/05/31 21:07:03 maya Exp $   */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -78,8 +78,8 @@
  *     which maintains hash tables.
  */
 
-#ifndef        _HASH
-#define        _HASH
+#ifndef        _HASH_H
+#define        _HASH_H
 
 /*
  * The following defines one entry in the hash table.
@@ -146,4 +146,4 @@
 Hash_Entry *Hash_EnumFirst(Hash_Table *, Hash_Search *);
 Hash_Entry *Hash_EnumNext(Hash_Search *);
 
-#endif /* _HASH */
+#endif /* _HASH_H */
diff -r a94c654e827d -r 4239eb0b4171 usr.bin/make/sprite.h
--- a/usr.bin/make/sprite.h     Wed May 31 17:56:00 2017 +0000
+++ b/usr.bin/make/sprite.h     Wed May 31 21:07:03 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sprite.h,v 1.11 2009/01/23 21:26:30 dsl Exp $  */
+/*     $NetBSD: sprite.h,v 1.12 2017/05/31 21:07:03 maya Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -78,8 +78,8 @@
  * Common constants and type declarations for Sprite.
  */
 
-#ifndef _SPRITE
-#define _SPRITE
+#ifndef _SPRITE_H
+#define _SPRITE_H
 
 
 /*
@@ -113,4 +113,4 @@
 #define        SUCCESS                 0x00000000
 #define        FAILURE                 0x00000001
 
-#endif /* _SPRITE */
+#endif /* _SPRITE_H */



Home | Main Index | Thread Index | Old Index