Re: [PATCH v9 1/1] http: Add Accept-Language header if possible
- From
Jeff King <peff@peff.net>
- Date
- Feb 26, 2015, 22:36 UTC
- Message-ID
- <20150226223603.GA27946@peff.net>
- In-Reply-To
- <CAGZ79kar4Uf-mCwXpexPvNztwd_vfjdCoT_dDXULkOrCqUhG=A@mail.gmail.com>
On Thu, Feb 26, 2015 at 02:26:05PM -0800, Stefan Beller wrote:
Show 12 quoted lines
> On Thu, Feb 26, 2015 at 2:07 PM, Jeff King <peff@peff.net> wrote: > > > > Here it is, with the commit message and the missing hunk. This works for > > me both with and without NO_GETTEXT defined. > > This compiles here though a warning is spit: > In file included from cache.h:8:0, > from userdiff.c:1: > gettext.h:92:1: warning: function declaration isn't a prototype > [-Wstrict-prototypes] > const char *get_preferred_languages(); > ^
Hmph. The compiler is right that it should be:
const char *get_preferred_languages(void);
but my gcc (4.9.2, with -Wstrict_prototypes) does not seem to notice it! Weird.
-Peff