summaryrefslogtreecommitdiffstats
path: root/avahi-common/alternative.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-11 23:45:42 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-11 23:45:42 +0000
commite63a65b3955b173a3e8d6b78c6377a518a9922d6 (patch)
tree9665358bbdd3c228cfeae6b3cbe27e29ac53e506 /avahi-common/alternative.h
parentc3d36ee186b5fb24480590080215f7e14ee0f6a6 (diff)
* drop glib from avahi-common
* add new module with avahi_malloc() and friends git-svn-id: file:///home/lennart/svn/public/avahi/trunk@298 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/alternative.h')
-rw-r--r--avahi-common/alternative.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/avahi-common/alternative.h b/avahi-common/alternative.h
index c1bf8cb..3d7b2fe 100644
--- a/avahi-common/alternative.h
+++ b/avahi-common/alternative.h
@@ -22,8 +22,6 @@
USA.
***/
-#include <glib.h>
-
#include <avahi-common/cdecl.h>
/** \file alternative.h Functions to find alternative names for hosts and services in the case of name collision */
@@ -34,13 +32,13 @@ AVAHI_C_DECL_BEGIN
* original host name, "2" is appended, Afterwards the number is
* increased on each call. (i.e. "foo" becomes "foo2" becomes "foo3"
* and so on.) g_free() the result. */
-gchar *avahi_alternative_host_name(const gchar *s);
+char *avahi_alternative_host_name(const char *s);
/** Find an alternative for the specified service name. If called with
an original service name, " #2" is appended. Afterwards the number
is increased on each call (i.e. "foo" becomes "foo #2" becomes
"foo #3" and so on.) g_free() the result. */
-gchar *avahi_alternative_service_name(const gchar *s);
+char *avahi_alternative_service_name(const char *s);
AVAHI_C_DECL_END