Thread (1 message) 1 message, 1 author, 2020-05-18

Re: [PATCH v2] commit-slab-decl.h: fix define guards

From: Junio C Hamano <hidden>
Date: 2020-05-18 17:32:57

Eric Sunshine [off-list ref] writes:
On Mon, May 18, 2020 at 1:14 PM Junio C Hamano [off-list ref] wrote:
quoted
From: Abhishek Kumar <redacted>
Subject: [PATCH] commit-slab-decl.h: update include guard

When a9f1f1f9f8 ("commit-slab.h: code split", 2018-05-19) split
commit-slab.h into commit-slab-decl.h and commit-slab-impl.h header
files, commit-slab-decl.h were left use "COMMIT_SLAB_HDR_H", while
s/were left use/was left using/
Thanks, I meant to say "left to use" actually.


quoted
commit-slab-impl.h gained its own macro, "COMMIT_SLAB_IMPL_H".

As these two files use different include guards, there is nothing
broken, but let's update commit-slab-decl.h to match the convention
to name the include guard after the filename.

Signed-off-by: Abhishek Kumar <redacted>
Signed-off-by: Junio C Hamano <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help