From 730f9eb9d43de11bbb7b74280ac2ed3d92bab645 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 17 Oct 2005 22:28:01 +0000 Subject: [PATCH] rename server.h to internal.h git-svn-id: file:///home/lennart/svn/public/avahi/trunk@804 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-core/Makefile.am | 2 +- avahi-core/announce.h | 2 +- avahi-core/browse.h | 2 +- avahi-core/cache.h | 2 +- avahi-core/entry.c | 2 +- avahi-core/iface.h | 2 +- avahi-core/{server.h => internal.h} | 4 ++-- avahi-core/multicast-lookup.c | 2 +- avahi-core/server.c | 2 +- avahi-core/wide-area.c | 2 +- tests/c-plus-plus-test.cc | 5 ++++- 11 files changed, 15 insertions(+), 12 deletions(-) rename avahi-core/{server.h => internal.h} (99%) diff --git a/avahi-core/Makefile.am b/avahi-core/Makefile.am index 95505b8..3ecce11 100644 --- a/avahi-core/Makefile.am +++ b/avahi-core/Makefile.am @@ -48,7 +48,7 @@ noinst_PROGRAMS = \ libavahi_core_la_SOURCES = \ timeeventq.c timeeventq.h\ iface.c iface.h \ - server.c server.h entry.c \ + server.c internal.h entry.c \ prioq.c prioq.h \ cache.c cache.h \ socket.c socket.h \ diff --git a/avahi-core/announce.h b/avahi-core/announce.h index 1994312..3a8bcf3 100644 --- a/avahi-core/announce.h +++ b/avahi-core/announce.h @@ -26,7 +26,7 @@ typedef struct AvahiAnnouncer AvahiAnnouncer; #include #include "iface.h" -#include "server.h" +#include "internal.h" #include "timeeventq.h" #include "publish.h" diff --git a/avahi-core/browse.h b/avahi-core/browse.h index 61ceca7..36d4e2e 100644 --- a/avahi-core/browse.h +++ b/avahi-core/browse.h @@ -26,7 +26,7 @@ #include "core.h" #include "timeeventq.h" -#include "server.h" +#include "internal.h" #include "dns.h" #include "lookup.h" diff --git a/avahi-core/cache.h b/avahi-core/cache.h index 3d71e50..4fbc1b9 100644 --- a/avahi-core/cache.h +++ b/avahi-core/cache.h @@ -26,7 +26,7 @@ typedef struct AvahiCache AvahiCache; #include #include "prioq.h" -#include "server.h" +#include "internal.h" #include "timeeventq.h" #include "hashmap.h" diff --git a/avahi-core/entry.c b/avahi-core/entry.c index 74f44f1..fe7702e 100644 --- a/avahi-core/entry.c +++ b/avahi-core/entry.c @@ -38,7 +38,7 @@ #include #include -#include "server.h" +#include "internal.h" #include "iface.h" #include "socket.h" #include "browse.h" diff --git a/avahi-core/iface.h b/avahi-core/iface.h index 14d0195..e45ab10 100644 --- a/avahi-core/iface.h +++ b/avahi-core/iface.h @@ -30,7 +30,7 @@ typedef struct AvahiHwInterface AvahiHwInterface; #include #include -#include "server.h" +#include "internal.h" #include "cache.h" #include "response-sched.h" #include "query-sched.h" diff --git a/avahi-core/server.h b/avahi-core/internal.h similarity index 99% rename from avahi-core/server.h rename to avahi-core/internal.h index 7181b3c..47a9c84 100644 --- a/avahi-core/server.h +++ b/avahi-core/internal.h @@ -1,5 +1,5 @@ -#ifndef fooserverhfoo -#define fooserverhfoo +#ifndef foointernalhfoo +#define foointernalhfoo /* $Id$ */ diff --git a/avahi-core/multicast-lookup.c b/avahi-core/multicast-lookup.c index 339215d..7ae45ea 100644 --- a/avahi-core/multicast-lookup.c +++ b/avahi-core/multicast-lookup.c @@ -26,7 +26,7 @@ #include #include -#include "server.h" +#include "internal.h" #include "browse.h" #include "socket.h" #include "log.h" diff --git a/avahi-core/server.c b/avahi-core/server.c index 2252fde..5651bc1 100644 --- a/avahi-core/server.c +++ b/avahi-core/server.c @@ -38,7 +38,7 @@ #include #include -#include "server.h" +#include "internal.h" #include "iface.h" #include "socket.h" #include "browse.h" diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c index f32c403..c5508b0 100644 --- a/avahi-core/wide-area.c +++ b/avahi-core/wide-area.c @@ -32,7 +32,7 @@ #include #include -#include "server.h" +#include "internal.h" #include "browse.h" #include "socket.h" #include "log.h" diff --git a/tests/c-plus-plus-test.cc b/tests/c-plus-plus-test.cc index b1b324c..fcdc7a4 100644 --- a/tests/c-plus-plus-test.cc +++ b/tests/c-plus-plus-test.cc @@ -44,11 +44,13 @@ #include #include #include +#include #include #include #include #include #include +#include #include #include #include @@ -61,13 +63,14 @@ #include #include #include -#include #include #include #include #include #include #include +#include +#include #include #include -- 2.39.5