summaryrefslogtreecommitdiff
path: root/guile
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-02-28 16:31:16 +0100
committerSimon Josefsson <simon@josefsson.org>2008-02-28 16:31:16 +0100
commit61b484c9c09c15b6aeda703d88ed95a609efba0b (patch)
tree3add847284271c6cda4a08166c37b6e603c11607 /guile
parent9b627d811532e2e3916ad1573c3835b194487f6f (diff)
downloadgnutls-61b484c9c09c15b6aeda703d88ed95a609efba0b.tar.gz
Use __func__ instead of __FUNCTION__.
Reported by Tim Mooney, see <https://savannah.gnu.org/support/?106267>. A gnulib module to make sure __func__ is available would be nice.
Diffstat (limited to 'guile')
-rw-r--r--guile/src/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/guile/src/utils.c b/guile/src/utils.c
index b388e06ff4..f59312d145 100644
--- a/guile/src/utils.c
+++ b/guile/src/utils.c
@@ -1,5 +1,5 @@
/* GNUTLS --- Guile bindings for GnuTLS.
- Copyright (C) 2007 Free Software Foundation
+ Copyright (C) 2007, 2008 Free Software Foundation
GNUTLS is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -54,7 +54,7 @@ scm_from_gnutls_key_usage_flags (unsigned int c_usage)
if (EXPECT_FALSE (c_usage != 0))
/* XXX: We failed to interpret one of the usage flags. */
- scm_gnutls_error (GNUTLS_E_UNIMPLEMENTED_FEATURE, __FUNCTION__);
+ scm_gnutls_error (GNUTLS_E_UNIMPLEMENTED_FEATURE, __func__);
#undef MATCH_USAGE