diff options
author | Dan Winship <danw@src.gnome.org> | 2003-08-27 13:13:30 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-08-27 13:13:30 +0000 |
commit | 3594d2168cfa7505f66ebb7991fb9f3a3d5edd41 (patch) | |
tree | a6cd65d99d5af619be36f9bddf36a3232d37f302 /tests | |
parent | 30cda756af1efcac7bfcf89ae02e7e43c018e63d (diff) | |
download | libsoup-3594d2168cfa7505f66ebb7991fb9f3a3d5edd41.tar.gz |
New header with typedefs, to avoid #include loops among other headers.
* libsoup/soup-types.h: New header with typedefs, to avoid
#include loops among other headers.
* libsoup/Makefile.am (libsoupinclude_HEADERS): add it
* libsoup/*.[ch], tests/*.c: Update for soup-types.h
Diffstat (limited to 'tests')
-rw-r--r-- | tests/revserver.c | 3 | ||||
-rw-r--r-- | tests/simple-httpd.c | 1 | ||||
-rw-r--r-- | tests/simple-proxy.c | 1 | ||||
-rw-r--r-- | tests/uri-parsing.c | 2 |
4 files changed, 5 insertions, 2 deletions
diff --git a/tests/revserver.c b/tests/revserver.c index 839603a7..3620887a 100644 --- a/tests/revserver.c +++ b/tests/revserver.c @@ -8,7 +8,8 @@ #include <string.h> #include <unistd.h> -#include <libsoup/soup.h> +#include <libsoup/soup-address.h> +#include <libsoup/soup-socket.h> static void rev_read (SoupSocket *sock, GString *buf); static void rev_write (SoupSocket *sock, GString *buf); diff --git a/tests/simple-httpd.c b/tests/simple-httpd.c index 15df1961..e34f0132 100644 --- a/tests/simple-httpd.c +++ b/tests/simple-httpd.c @@ -14,6 +14,7 @@ #include <unistd.h> #include <glib.h> +#include <libsoup/soup-address.h> #include <libsoup/soup-message.h> #include <libsoup/soup-server.h> #include <libsoup/soup-server-message.h> diff --git a/tests/simple-proxy.c b/tests/simple-proxy.c index 4495aa72..7063d5b5 100644 --- a/tests/simple-proxy.c +++ b/tests/simple-proxy.c @@ -14,6 +14,7 @@ #include <unistd.h> #include <glib.h> +#include <libsoup/soup-address.h> #include <libsoup/soup-message.h> #include <libsoup/soup-server.h> #include <libsoup/soup-server-message.h> diff --git a/tests/uri-parsing.c b/tests/uri-parsing.c index 2861dd52..5bd43bee 100644 --- a/tests/uri-parsing.c +++ b/tests/uri-parsing.c @@ -110,7 +110,7 @@ do_uri (SoupUri *base_uri, const char *base_str, int main (int argc, char **argv) { - SoupUri *base_uri, *uri; + SoupUri *base_uri; char *uri_string; int i, errs = 0; |