diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-03-05 15:28:14 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-04-15 15:42:26 +0800 |
commit | 16ebe978aeced862dd877cfee81ac7604902fd55 (patch) | |
tree | c73db6d36b3a8785f6a47c4544419b9341cd5ea2 /test/urls | |
parent | 9a960821e54b0794b1c519b493294b7222dd98d4 (diff) | |
download | petitboot-16ebe978aeced862dd877cfee81ac7604902fd55.zip petitboot-16ebe978aeced862dd877cfee81ac7604902fd55.tar.gz |
lib/url: Move URL-handling code to lib
We'll need to use the URL handling code in the server, so move it to the
lib/ directory.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test/urls')
-rw-r--r-- | test/urls/Makefile.am | 5 | ||||
-rw-r--r-- | test/urls/parse-url.c | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/test/urls/Makefile.am b/test/urls/Makefile.am index 850c58f..d16ffdc 100644 --- a/test/urls/Makefile.am +++ b/test/urls/Makefile.am @@ -22,10 +22,7 @@ AM_CPPFLAGS = \ AM_CFLAGS = \ $(DEFAULT_CFLAGS) -parse_url_SOURCES = \ - parse-url.c \ - ../../ui/common/url.c \ - ../../ui/common/url.h +parse_url_SOURCES = parse-url.c parse_url_LDADD = ../../lib/libpbcore.la diff --git a/test/urls/parse-url.c b/test/urls/parse-url.c index 3e2f10f..d748cdb 100644 --- a/test/urls/parse-url.c +++ b/test/urls/parse-url.c @@ -2,7 +2,7 @@ #include <stdlib.h> #include <stdio.h> -#include <ui/common/url.h> +#include <url/url.h> #include <log/log.h> int main(int argc, char **argv) |