about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2010-09-04 11:49:30 -0400
committerMark Lodato <lodatom@gmail.com>2010-09-04 14:09:24 -0400
commit25e8ba1996a7b5ea291c924b0990d706176f6fe6 (patch)
tree935e6e9a5df75e98d293fc55577e9cc9f010086f /tests
parentfix errors in printf-style format strings (diff)
downloadcgit-pink-25e8ba1996a7b5ea291c924b0990d706176f6fe6.tar.gz
cgit-pink-25e8ba1996a7b5ea291c924b0990d706176f6fe6.zip
ui-repolist: fix redefinition of _XOPEN_SOURCE
Previously, ui-repolist.c set _GNU_SOURCE and then included a standard
library before including <git-compat-util.h>.  This was a problem,
because <git-compat-util.h> redefined _XOPEN_SOURCE, which is set
automatically by glibc when _GNU_SOURCE is set.  However,
<git-compat-util.h> already sets _GNU_SOURCE and includes both
<string.h> and <time.h>, so there is no need to define _GNU_SOURCE or
include either header within ui-repolist.c.

Signed-off-by: Mark Lodato <lodatom@gmail.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
vim-gitgutterJune McEnroe 2013-04-23Remove unused pluginsJune McEnroe 2013-04-23Switch to base16-default colorschemeJune McEnroe 2013-03-26Replace nerdcommenter with vim-commentaryJune McEnroe 2013-03-24Add paredit.vimJune McEnroe 2013-03-14Update base16-vimJune McEnroe 2013-03-12Hide mode from below statuslineJune McEnroe 2013-03-12Switch to powerlineJune McEnroe 2013-03-12Remove vim-powerlineJune McEnroe 2013-02-03Update base16 and refheapJune McEnroe 2013-02-03Ignore plugin/private.vimJune McEnroe 2012-09-29Disable GUI dialogsJune McEnroe