petere / pguri

uri type for PostgreSQL

Home Page:https://twitter.com/pvh/status/567395527357001728

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

warning: implicit declaration of function uriIsHostSetA

nukleus opened this issue · comments

uri.c: In function ‘uri_path’:
uri.c:238:2: warning: implicit declaration of function ‘uriIsHostSetA’ [-Wimplicit-function-declaration]
    if (uri.absolutePath || (uriIsHostSetA(&uri) && uri.pathHead))
                             ^

uriparser seems to only define uriIsHostSet, without the 'A', typo?

No, it's correct that way. If I change it, I get a linker error.