Re: [PATCH 4/8] wildmatch: remove static variable force_lower_case
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 9, 2012, 20:47 UTC
- Message-ID
- <7vtxu3e5jl.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1349752147-13314-5-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> writes:
Show 12 quoted lines
> diff --git a/wildmatch.c b/wildmatch.c > index 7b64a6b..2382873 100644 > --- a/wildmatch.c > +++ b/wildmatch.c > @@ -11,8 +11,8 @@ > > #include <stddef.h> > #include <ctype.h> > -#include <string.h> > > +#include "cache.h" > #include "wildmatch.h"
This is wrong; the includes from the system headers should have been removed in the previous step where the series "integrated" wildmatch to git, after which point the first include any C source that is not at the platform-compatibility layer should be cache.h or git-compat-util.h.