diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2011-01-04 18:36:34 -0600 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-07 15:15:17 -0800 |
commit | cf548cacdd0c553b6524969d0d3fd5e787efeb3c (patch) | |
tree | 4fcd18374ed13d919cbb975b5dc15db32debcfe3 /Documentation/urls.txt | |
parent | sha1_object_info: examine cached_object store too (diff) | |
download | tgif-cf548cacdd0c553b6524969d0d3fd5e787efeb3c.tar.xz |
quote.h: simplify the inclusion
Attempting to include quote.h without first including strbuf.h results
in warnings:
./quote.h:33:33: warning: ‘struct strbuf’ declared inside parameter list
./quote.h:33:33: warning: its scope is only this definition or declaration, which is probably not what you want
./quote.h:34:34: warning: ‘struct strbuf’ declared inside parameter list
...
Add a toplevel declaration for struct strbuf to avoid this.
While at it, stop including system headers from quote.h. git source
files already need to include git-compat-util.h sooner to ensure the
appropriate feature test macros are defined.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/urls.txt')
0 files changed, 0 insertions, 0 deletions