]> git.ozlabs.org Git - petitboot/blobdiff - lib/url/url.c
discover/pxe-parser: Retrieve configs asynchronously
[petitboot] / lib / url / url.c
index 700f87cd936ed0d184cb75312f6cacac0c1739bf..6eeced32538350cb0aea0fa3edbe1a9c73aab411 100644 (file)
@@ -20,7 +20,6 @@
 #include "config.h"
 #endif
 
-#define _GNU_SOURCE
 #include <assert.h>
 #include <string.h>
 
@@ -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;