mirror of
https://github.com/curl/curl.git
synced 2026-08-05 16:16:14 +03:00
src: namespace symbols clashing with lib
Before this patch `lib/http.h` and `src/tool_sdecls.h` both declared `HTTPREQ_*` enums. Rename `src` ones to have distinct names. They are not included in the same code for now, but this may change when bundling unit/libtests into single programs. Closes #14785
This commit is contained in:
parent
5ebc820c7d
commit
32eee8f139
4 changed files with 14 additions and 14 deletions
|
|
@ -94,7 +94,7 @@ int SetHTTPrequest(struct OperationConfig *config, HttpReq req, HttpReq *store)
|
|||
"PUT (-T, --upload-file)"
|
||||
};
|
||||
|
||||
if((*store == HTTPREQ_UNSPEC) ||
|
||||
if((*store == TOOL_HTTPREQ_UNSPEC) ||
|
||||
(*store == req)) {
|
||||
*store = req;
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue