Merge branch 'ak/slab-decl-cleanup'

Code clean-up.

* ak/slab-decl-cleanup:
  commit-slab-decl.h: update include guard
This commit is contained in:
Junio C Hamano
2020-05-20 08:33:29 -07:00

View File

@ -1,5 +1,5 @@
#ifndef COMMIT_SLAB_HDR_H #ifndef COMMIT_SLAB_DECL_H
#define COMMIT_SLAB_HDR_H #define COMMIT_SLAB_DECL_H
/* allocate ~512kB at once, allowing for malloc overhead */ /* allocate ~512kB at once, allowing for malloc overhead */
#ifndef COMMIT_SLAB_SIZE #ifndef COMMIT_SLAB_SIZE
@ -40,4 +40,4 @@ elemtype *slabname## _peek(struct slabname *s, const struct commit *c)
declare_commit_slab(slabname, elemtype); \ declare_commit_slab(slabname, elemtype); \
declare_commit_slab_prototypes(slabname, elemtype) declare_commit_slab_prototypes(slabname, elemtype)
#endif /* COMMIT_SLAB_HDR_H */ #endif /* COMMIT_SLAB_DECL_H */