summaryrefslogtreecommitdiff
path: root/lib/gnutls_extensions.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2008-08-28 17:26:44 +0200
committerSimon Josefsson <simon@josefsson.org>2008-08-28 17:26:44 +0200
commit0d538af03deb419020897d18741a1038552e07ca (patch)
tree27e2e50ce3ab28492de6f0d1f25095dcc13d2e01 /lib/gnutls_extensions.c
parentb251146cb5b24daa964da3ca2541b0077b2c167e (diff)
downloadgnutls-0d538af03deb419020897d18741a1038552e07ca.tar.gz
Fix warnings.
Diffstat (limited to 'lib/gnutls_extensions.c')
-rw-r--r--lib/gnutls_extensions.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/gnutls_extensions.c b/lib/gnutls_extensions.c
index 45e9431f0c..ac3a2a2a81 100644
--- a/lib/gnutls_extensions.c
+++ b/lib/gnutls_extensions.c
@@ -63,18 +63,6 @@ _gnutls_ext_func_recv (uint16_t type, gnutls_ext_parse_type_t parse_type)
return NULL;
}
-const char *
-_gnutls_extension_get_name (uint16_t type)
-{
- size_t i;
-
- for (i = 0; i < extfunc_size; i++)
- if (extfunc[i].type == type)
- return extfunc[i].name;
-
- return NULL;
-}
-
/* Checks if the extension we just received is one of the
* requested ones. Otherwise it's a fatal error.
*/