diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-20 21:41:32 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-20 21:41:32 +0200 |
commit | 5ade03446430f1190fdf1eca8b8fde5f63367110 (patch) | |
tree | ba0c1878e9d5c96cfcb9668a3756a80b73600789 /compat | |
parent | Merge branch 'jt/repack-promisor-packs' (diff) | |
parent | Remove forward declaration of an enum (diff) | |
download | git-5ade03446430f1190fdf1eca8b8fde5f63367110.tar.xz git-5ade03446430f1190fdf1eca8b8fde5f63367110.zip |
Merge branch 'en/incl-forward-decl'
Code hygiene improvement for the header files.
* en/incl-forward-decl:
Remove forward declaration of an enum
compat/precompose_utf8.h: use more common include guard style
urlmatch.h: fix include guard
Move definition of enum branch_track from cache.h to branch.h
alloc: make allocate_alloc_state and clear_alloc_state more consistent
Add missing includes and forward declarations
Diffstat (limited to 'compat')
-rw-r--r-- | compat/precompose_utf8.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/precompose_utf8.h b/compat/precompose_utf8.h index a94e7c4342..6f843d3e1a 100644 --- a/compat/precompose_utf8.h +++ b/compat/precompose_utf8.h @@ -1,4 +1,6 @@ #ifndef PRECOMPOSE_UNICODE_H +#define PRECOMPOSE_UNICODE_H + #include <sys/stat.h> #include <sys/types.h> #include <dirent.h> @@ -41,5 +43,4 @@ int precompose_utf8_closedir(PREC_DIR *dirp); #define DIR PREC_DIR #endif /* PRECOMPOSE_UNICODE_C */ -#define PRECOMPOSE_UNICODE_H #endif /* PRECOMPOSE_UNICODE_H */ |