diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-21 20:57:00 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-01-21 20:57:00 +0000 |
commit | fa334f7d14c2fb90bbef3116bf16a0d14d67a2ba (patch) | |
tree | e8ac15eb4e2b1725da0aa68199c3eb0515ab1a7b /gcc/java/jcf.h | |
parent | bf7619bc588029ca47cf6d4b157168b10417d026 (diff) | |
download | gcc-fa334f7d14c2fb90bbef3116bf16a0d14d67a2ba.tar.gz |
* buffer.h: PROTO -> PARAMS.
* check-init.c: Likewise.
* class.c: Likewise.
* constants.c: Likewise.
* convert.h: Likewise.
* decl.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* gjavah.c: Likewise.
* java-except.h: Likewise.
* java-tree.h: Likewise.
* jcf-depend.c: Likewise.
* jcf-dump.c: Likewise.
* jcf-parse.c: Likewise.
* jcf-path.c: Likewise.
* jcf-reader.c: Likewise.
* jcf-write.c: Likewise.
* jcf.h: Likewise.
* jv-scan.c: Likewise.
* jvgenmain.c: Likewise.
* jvspec.c: Likewise.
* lang.c: Likewise.
* lex.c: Likewise.
* lex.h: Likewise.
* parse-scan.y: Likewise.
* parse.h: Likewise.
* parse.y: Likewise.
* typeck.c: Likewise.
* verify.c: Likewise.
* xref.c: Likewise.
* xref.h: Likewise.
* zextract.c: Likewise.
* zipfile.h: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31550 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf.h')
-rw-r--r-- | gcc/java/jcf.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/gcc/java/jcf.h b/gcc/java/jcf.h index 6b3188f7db7..2a4cb26284e 100644 --- a/gcc/java/jcf.h +++ b/gcc/java/jcf.h @@ -1,6 +1,6 @@ /* Utility macros to read Java(TM) .class files and byte codes. - Copyright (C) 1996, 97-98, 1999 Free Software Foundation, Inc. + Copyright (C) 1996, 97-99, 2000 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,11 +38,11 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #endif #endif /* !DEFUN */ -#ifndef PROTO +#ifndef PARAMS #if defined (__STDC__) -#define PROTO(paramlist) paramlist +#define PARAMS (paramlist) paramlist #else -#define PROTO(paramlist) () +#define PARAMS (paramlist) () #endif #endif @@ -68,7 +68,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ #define JCF_SOURCE 3 struct JCF; -typedef int (*jcf_filbuf_t) PROTO ((struct JCF*, int needed)); +typedef int (*jcf_filbuf_t) PARAMS ((struct JCF*, int needed)); typedef struct CPool { /* Available number of elements in the constants array, before it @@ -221,10 +221,10 @@ typedef struct JCF { #define DEFAULT_CLASS_PATH "." -extern const char *find_class PROTO ((const char *, int, JCF*, int)); -extern const char *find_classfile PROTO ((char *, JCF*, const char *)); -extern int jcf_filbuf_from_stdio PROTO ((JCF *jcf, int count)); -extern int jcf_unexpected_eof PROTO ((JCF*, int)) ATTRIBUTE_NORETURN; +extern const char *find_class PARAMS ((const char *, int, JCF*, int)); +extern const char *find_classfile PARAMS ((char *, JCF*, const char *)); +extern int jcf_filbuf_from_stdio PARAMS ((JCF *jcf, int count)); +extern int jcf_unexpected_eof PARAMS ((JCF*, int)) ATTRIBUTE_NORETURN; /* Extract a character from a Java-style Utf8 string. * PTR points to the current character. @@ -255,25 +255,25 @@ extern int quiet_flag; #endif /* Declarations for dependency code. */ -extern void jcf_dependency_reset PROTO ((void)); -extern void jcf_dependency_set_target PROTO ((const char *)); -extern void jcf_dependency_add_target PROTO ((const char *)); -extern void jcf_dependency_set_dep_file PROTO ((const char *)); -extern void jcf_dependency_add_file PROTO ((const char *, int)); -extern void jcf_dependency_write PROTO ((void)); -extern void jcf_dependency_init PROTO ((int)); +extern void jcf_dependency_reset PARAMS ((void)); +extern void jcf_dependency_set_target PARAMS ((const char *)); +extern void jcf_dependency_add_target PARAMS ((const char *)); +extern void jcf_dependency_set_dep_file PARAMS ((const char *)); +extern void jcf_dependency_add_file PARAMS ((const char *, int)); +extern void jcf_dependency_write PARAMS ((void)); +extern void jcf_dependency_init PARAMS ((int)); /* Declarations for path handling code. */ -extern void jcf_path_init PROTO ((void)); -extern void jcf_path_classpath_arg PROTO ((const char *)); -extern void jcf_path_CLASSPATH_arg PROTO ((const char *)); -extern void jcf_path_include_arg PROTO ((const char *)); -extern void jcf_path_seal PROTO ((void)); -extern void *jcf_path_start PROTO ((void)); -extern void *jcf_path_next PROTO ((void *)); -extern char *jcf_path_name PROTO ((void *)); -extern int jcf_path_is_zipfile PROTO ((void *)); -extern int jcf_path_is_system PROTO ((void *)); -extern int jcf_path_max_len PROTO ((void)); +extern void jcf_path_init PARAMS ((void)); +extern void jcf_path_classpath_arg PARAMS ((const char *)); +extern void jcf_path_CLASSPATH_arg PARAMS ((const char *)); +extern void jcf_path_include_arg PARAMS ((const char *)); +extern void jcf_path_seal PARAMS ((void)); +extern void *jcf_path_start PARAMS ((void)); +extern void *jcf_path_next PARAMS ((void *)); +extern char *jcf_path_name PARAMS ((void *)); +extern int jcf_path_is_zipfile PARAMS ((void *)); +extern int jcf_path_is_system PARAMS ((void *)); +extern int jcf_path_max_len PARAMS ((void)); #endif |