X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Furl%2Furl.c;h=6eeced32538350cb0aea0fa3edbe1a9c73aab411;hp=700f87cd936ed0d184cb75312f6cacac0c1739bf;hb=ff7293bba1fd4cdf54bb90bd1b7a38dd393fee69;hpb=f385e8cacbc574e213b0805a8d383373f29a8058 diff --git a/lib/url/url.c b/lib/url/url.c index 700f87c..6eeced3 100644 --- a/lib/url/url.c +++ b/lib/url/url.c @@ -20,7 +20,6 @@ #include "config.h" #endif -#define _GNU_SOURCE #include #include @@ -247,7 +246,7 @@ static void pb_url_update_full(struct pb_url *url) url->full = pb_url_to_string(url); } -static struct pb_url *pb_url_copy(void *ctx, const struct pb_url *url) +struct pb_url *pb_url_copy(void *ctx, const struct pb_url *url) { struct pb_url *new_url;