]> granicus.if.org Git - git/commitdiff
headers: normalize the spelling of some header guards
authorRamsay Jones <ramsay@ramsayjones.plus.com>
Wed, 17 Oct 2018 22:13:26 +0000 (23:13 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Oct 2018 04:39:35 +0000 (13:39 +0900)
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
alias.h
commit-reach.h
fetch-negotiator.h
midx.h
t/helper/test-tool.h
vcs-svn/fast_export.h
vcs-svn/line_buffer.h
vcs-svn/sliding_window.h
vcs-svn/svndiff.h
vcs-svn/svndump.h

diff --git a/alias.h b/alias.h
index 79933f2457ce265e2d141459308c8407488cca69..aef4843bb7821e87dcbe017ddfff64b8d6681fca 100644 (file)
--- a/alias.h
+++ b/alias.h
@@ -1,5 +1,5 @@
-#ifndef __ALIAS_H__
-#define __ALIAS_H__
+#ifndef ALIAS_H
+#define ALIAS_H
 
 struct string_list;
 
index 7d313e2975a28ef79b2ccf6dea965d4f139eda58..122a23a24d8a40d213c7a1fb167f3f9c2b3c73d6 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __COMMIT_REACH_H__
-#define __COMMIT_REACH_H__
+#ifndef COMMIT_REACH_H
+#define COMMIT_REACH_H
 
 #include "commit-slab.h"
 
index ddb44a22dce42b5cce8f747987e0848483350993..9e3967ce6626be459ad7d8a0590240b06e7056e3 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef FETCH_NEGOTIATOR
-#define FETCH_NEGOTIATOR
+#ifndef FETCH_NEGOTIATOR_H
+#define FETCH_NEGOTIATOR_H
 
 struct commit;
 
diff --git a/midx.h b/midx.h
index 2d7c9c6cd1d829f3eb6aa924d316e54c6d4e9e00..1d6c21afe31b62024969f7cb91f9f78b19fe8e52 100644 (file)
--- a/midx.h
+++ b/midx.h
@@ -1,5 +1,5 @@
-#ifndef __MIDX_H__
-#define __MIDX_H__
+#ifndef MIDX_H
+#define MIDX_H
 
 #include "repository.h"
 
index e4890566da552eb10ae718c4c921ad103c3f1a71..71f470b87141a23f881a66349c3c409207a3c7f9 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __TEST_TOOL_H__
-#define __TEST_TOOL_H__
+#ifndef TEST_TOOL_H
+#define TEST_TOOL_H
 
 #include "git-compat-util.h"
 
index 60b79c35b97cbdc9589fe3778ac1f4b5f61646ff..9dcf9337c18b695c2d555f8b96edea0bcb71fd04 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef FAST_EXPORT_H_
-#define FAST_EXPORT_H_
+#ifndef FAST_EXPORT_H
+#define FAST_EXPORT_H
 
 struct strbuf;
 struct line_buffer;
index ee23b4f490258548a7c50fa7c9a50213b70f5359..e192aedea2964e9045f9e71fa95863b9fc03d8c9 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef LINE_BUFFER_H_
-#define LINE_BUFFER_H_
+#ifndef LINE_BUFFER_H
+#define LINE_BUFFER_H
 
 #include "strbuf.h"
 
index b43a825cbabe92b8b9da7d1ff2856763fe26fc29..189c32d84c3c654c0a16bfe71284b24029724019 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef SLIDING_WINDOW_H_
-#define SLIDING_WINDOW_H_
+#ifndef SLIDING_WINDOW_H
+#define SLIDING_WINDOW_H
 
 #include "strbuf.h"
 
index 74eb464bab22eae4af4d1a3228da5964bbc0c568..10a2cbc40ec1c1ec7a97e967e3420b0b819f6641 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef SVNDIFF_H_
-#define SVNDIFF_H_
+#ifndef SVNDIFF_H
+#define SVNDIFF_H
 
 struct line_buffer;
 struct sliding_view;
index b8eb12954e816e0e1490f6ef7eefe64901c38ae1..26faed59684f47038fe1dfe5a43e3f85b06d7582 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef SVNDUMP_H_
-#define SVNDUMP_H_
+#ifndef SVNDUMP_H
+#define SVNDUMP_H
 
 int svndump_init(const char *filename);
 int svndump_init_fd(int in_fd, int back_fd);