aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppcharset.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-06-17 06:17:44 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-06-17 06:17:44 +0000
commit6cf87ca4e574edb0bf2bcb2cf396adb6e040311d (patch)
treeaba39e5edc2926935bd59dd4f66f9b3d59447d19 /gcc/cppcharset.c
parent82620aaf0b59eead65b65bbaa3db5606df4027f9 (diff)
downloadgcc-6cf87ca4e574edb0bf2bcb2cf396adb6e040311d.zip
gcc-6cf87ca4e574edb0bf2bcb2cf396adb6e040311d.tar.gz
gcc-6cf87ca4e574edb0bf2bcb2cf396adb6e040311d.tar.bz2
* cpplib.h, cpphash.h, cppcharset.c, cpperror.c, cppexp.c
* cppfiles.c, cpphash.c, cppinit.c, cpplex.c, cpplib.c * cppmacro.c, cpppch.c, cpptrad.c, cppspec.c: Convert to ISO C: new-style function declarations, no need for PARAMS, no special punctuation on indirect function calls, use string constant concatenation where convenient. From-SVN: r68070
Diffstat (limited to 'gcc/cppcharset.c')
-rw-r--r--gcc/cppcharset.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gcc/cppcharset.c b/gcc/cppcharset.c
index b11e642..f506ba2 100644
--- a/gcc/cppcharset.c
+++ b/gcc/cppcharset.c
@@ -25,7 +25,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "cpplib.h"
#include "cpphash.h"
-static int ucn_valid_in_identifier PARAMS ((cpp_reader *, cppchar_t));
+static int ucn_valid_in_identifier (cpp_reader *, cppchar_t);
/* [lex.charset]: The character designated by the universal character
name \UNNNNNNNN is that character whose character short name in
@@ -52,10 +52,7 @@ static int ucn_valid_in_identifier PARAMS ((cpp_reader *, cppchar_t));
*/
cppchar_t
-_cpp_valid_ucn (pfile, pstr, identifier_pos)
- cpp_reader *pfile;
- const uchar **pstr;
- int identifier_pos;
+_cpp_valid_ucn (cpp_reader *pfile, const uchar **pstr, int identifier_pos)
{
cppchar_t result, c;
unsigned int length;
@@ -128,9 +125,7 @@ _cpp_valid_ucn (pfile, pstr, identifier_pos)
identifier. We assume C has already gone through the checks of
_cpp_valid_ucn. */
static int
-ucn_valid_in_identifier (pfile, c)
- cpp_reader *pfile;
- cppchar_t c;
+ucn_valid_in_identifier (cpp_reader *pfile, cppchar_t c)
{
/* None of the valid chars are outside the Basic Multilingual Plane (the
low 16 bits). */