From: ian Date: Thu, 16 Dec 2004 00:17:32 +0000 (+0000) Subject: fix c violations detected by newer gcc - urgh X-Git-Tag: debian/1.1.1~114 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=chiark-tcl.git;a=commitdiff_plain;h=07bc9fb02444968d4e8b1f0c6e00a15a8ada8d9e fix c violations detected by newer gcc - urgh --- diff --git a/crypto/algtables.c b/crypto/algtables.c index 24ebba7..bb111de 100644 --- a/crypto/algtables.c +++ b/crypto/algtables.c @@ -27,10 +27,10 @@ name##_set_key(sch, keylen, key); \ } \ static void alg_##name##_encr(const void *sch, const void *in, void *out) { \ - ##name##_encrypt((void*)sch, NAME##_BLOCK_SIZE, out, in); \ + name##_encrypt((void*)sch, NAME##_BLOCK_SIZE, out, in); \ } \ static void alg_##name##_decr(const void *sch, const void *in, void *out) { \ - ##name##_decrypt((void*)sch, NAME##_BLOCK_SIZE, out, in); \ + name##_decrypt((void*)sch, NAME##_BLOCK_SIZE, out, in); \ } NETTLE_BLOCKCIPHERS #undef DO diff --git a/crypto/crypto.c b/crypto/crypto.c index 49a409f..97f4d1d 100644 --- a/crypto/crypto.c +++ b/crypto/crypto.c @@ -92,7 +92,7 @@ int do_padmethodinfo_rfc2406(ClientData cd, Tcl_Interp *ip, *ok= 1; - quit: + quit:; }