diff options
author | Simon Josefsson <simon@josefsson.org> | 2005-08-12 12:57:48 +0000 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2005-08-12 12:57:48 +0000 |
commit | 8ed1a2456963b276ea378cb0bc02a343c813c98b (patch) | |
tree | 62739309a6ca766b6fc0fdb577ff312bfb15da45 /lib | |
parent | bbe9411bdf9c1139c5620ded48a9e306db1cc294 (diff) | |
download | libtasn1-8ed1a2456963b276ea378cb0bc02a343c813c98b.tar.gz libtasn1-8ed1a2456963b276ea378cb0bc02a343c813c98b.tar.bz2 libtasn1-8ed1a2456963b276ea378cb0bc02a343c813c98b.zip |
Don't use C99 macros.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/errors.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/errors.c b/lib/errors.c index 96fdd3e..d59e083 100644 --- a/lib/errors.c +++ b/lib/errors.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2002 Fabio Fiorina +/* Copyright (C) 2002, 2005 Fabio Fiorina * * This file is part of LIBASN1. * @@ -121,11 +121,7 @@ void _libtasn1_log( const char *fmt, ...) { return; } #else /* not DEBUG */ -# ifndef C99_MACROS - -/* Without C99 macros these functions have to - * be called. This may affect performance. - */ -void _libtasn1_null_log( void* x, ...) { return; } -# endif /* C99_MACROS */ +void _libtasn1_log( const char *fmt, ...) { + return; +} #endif /* DEBUG */ |