Commit 138e15ba authored by Pekka Pessi's avatar Pekka Pessi

Added missing __func__ to stun C files.

darcs-hash:20060411181834-65a35-7dd345fc3c8eb84a050fad7310ae206bb4b9fc95.gz
parent 65df79f3
......@@ -65,6 +65,13 @@
#define SOL_TCP IPPROTO_TCP
#endif
#if HAVE_FUNC
#elif HAVE_FUNCTION
#define __func__ __FUNCTION__
#else
static char const __func__[] = "stun";
#endif
/** STUN log. */
su_log_t stun_log[] = { SU_LOG_INIT("stun", "STUN_DEBUG", SU_DEBUG) };
......
......@@ -47,6 +47,13 @@
#include <assert.h>
#if HAVE_FUNC
#elif HAVE_FUNCTION
#define __func__ __FUNCTION__
#else
#define __func__ "stun_common"
#endif
const char stun_400_Bad_request[] = "Bad Request",
stun_401_Unauthorized[] = "Unauthorized",
stun_420_Unknown_attribute[] = "Unknown Attribute",
......
......@@ -47,6 +47,13 @@
#define SRES_CONTEXT_T stun_dns_lookup_t
#include <sofia-sip/sresolv.h>
#if HAVE_FUNC
#elif HAVE_FUNCTION
#define __func__ __FUNCTION__
#else
static char const __func__[] = "stun_dns";
#endif
#include "stun_internal.h"
struct stun_dns_lookup_s {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment