• Jeff King's avatar
    compat/bswap: add include header guards · 33aa579a
    Jeff King authored
    Our compat/bswap.h lacks the usual preprocessor guards against multiple
    inclusion. This usually isn't an issue since it only gets included from
    git-compat-util.h, which has its own guards. But it would produce
    redeclaration errors if any file included it separately.
    
    Our hdr-check target would complain about this, except that it currently
    skips items in compat/ entirely.
    Signed-off-by: default avatarJeff King <peff@peff.net>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    33aa579a
bswap.h 5.16 KB