From: Ludovic Courtès Date: Wed, 19 Mar 2008 15:44:38 +0000 (+0100) Subject: guile: Don't declare `inline' functions that use `alloca ()'. X-Git-Tag: gnutls_2_3_6~5^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a795ac92df35e5bf43ad53e422b2435b457ffdca;p=thirdparty%2Fgnutls.git guile: Don't declare `inline' functions that use `alloca ()'. * guile/src/core.c (set_certificate_file): Remove `inline' keyword. --- diff --git a/guile/src/core.c b/guile/src/core.c index 217ccede7e..ca544d4a6b 100644 --- a/guile/src/core.c +++ b/guile/src/core.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 @@ -15,7 +15,7 @@ License along with GNUTLS; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -/* Written by Ludovic Courtès . */ +/* Written by Ludovic Courtès . */ #include #include @@ -1327,7 +1327,7 @@ typedef int (* certificate_set_data_function_t) (gnutls_certificate_credentials_ gnutls_x509_crt_fmt_t); /* Helper function to implement the `set-file!' functions. */ -static inline unsigned int +static unsigned int set_certificate_file (certificate_set_file_function_t set_file, SCM cred, SCM file, SCM format, const char *func_name)