From e63a65b3955b173a3e8d6b78c6377a518a9922d6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 11 Aug 2005 23:45:42 +0000 Subject: * 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 --- avahi-common/alternative.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'avahi-common/alternative.h') 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 - #include /** \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 -- cgit