diff options
author | Jeff King <peff@peff.net> | 2015-02-25 22:04:16 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-26 14:09:20 -0800 |
commit | 93f7d9108a0edf808e1e3bbcdbe6078310c22f9e (patch) | |
tree | 5bfc28011f1988763b56046034bd131a406e962e /command-list.txt | |
parent | f18604bbf2c391c689a41fca14cbaeff5e106255 (diff) | |
download | git-93f7d9108a0edf808e1e3bbcdbe6078310c22f9e.tar.gz |
gettext.c: move get_preferred_languages() from http.cye/http-accept-language
Calling setlocale(LC_MESSAGES, ...) directly from http.c, without
including <locale.h>, was causing compilation warnings. Move the
helper function to gettext.c that already includes the header and
where locale-related issues are handled.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'command-list.txt')
0 files changed, 0 insertions, 0 deletions