diff options
author | Bruno Haible <bruno@clisp.org> | 2003-06-20 20:55:34 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2003-06-20 20:55:34 +0000 |
commit | f2ec12eb8a0dbf4713d7870199962a7c9167429e (patch) | |
tree | e519e17e36ee0483aedb350a5f26e97361d8cb9f /lib/unicodeio.h | |
parent | 61e4f3eb1625152258fe8d77ca6ff611ecea4cfe (diff) | |
download | gnulib-f2ec12eb8a0dbf4713d7870199962a7c9167429e.tar.gz |
Assume ANSI C.
Diffstat (limited to 'lib/unicodeio.h')
-rw-r--r-- | lib/unicodeio.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/lib/unicodeio.h b/lib/unicodeio.h index 92fa23c335..89f87d5efc 100644 --- a/lib/unicodeio.h +++ b/lib/unicodeio.h @@ -1,6 +1,6 @@ /* Unicode character output to streams with locale dependent encoding. - Copyright (C) 2000-2002 Free Software Foundation, Inc. + Copyright (C) 2000-2003 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published @@ -23,23 +23,15 @@ # include <stddef.h> # include <stdio.h> -# ifndef PARAMS -# if defined PROTOTYPES || (defined __STDC__ && __STDC__) -# define PARAMS(Args) Args -# else -# define PARAMS(Args) () -# endif -# endif - /* Outputs the Unicode character CODE to the output stream STREAM. Upon failure, exit if exit_on_error is true, otherwise output a fallback notation. */ -extern void print_unicode_char PARAMS ((FILE *stream, unsigned int code, - int exit_on_error)); +extern void print_unicode_char (FILE *stream, unsigned int code, + int exit_on_error); /* Simple success callback that outputs the converted string. The STREAM is passed as callback_arg. */ -extern long fwrite_success_callback PARAMS ((const char *buf, size_t buflen, - void *callback_arg)); +extern long fwrite_success_callback (const char *buf, size_t buflen, + void *callback_arg); #endif |