diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-03-19 18:17:20 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-03-19 18:17:20 -0800 |
commit | 521f2d6fcba7cc07b276d31e8d0c1af501361803 (patch) | |
tree | ca321d72ba838fd9f30b00fc2dfa9cc47c34cc20 /gcc/machmode.h | |
parent | d3379e9151ffd3974cf50aaf3e37033ab579c610 (diff) | |
download | gcc-521f2d6fcba7cc07b276d31e8d0c1af501361803.zip gcc-521f2d6fcba7cc07b276d31e8d0c1af501361803.tar.gz gcc-521f2d6fcba7cc07b276d31e8d0c1af501361803.tar.bz2 |
Add prototypes.
From-SVN: r3794
Diffstat (limited to 'gcc/machmode.h')
-rw-r--r-- | gcc/machmode.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gcc/machmode.h b/gcc/machmode.h index 921ffd5..240bd57 100644 --- a/gcc/machmode.h +++ b/gcc/machmode.h @@ -18,6 +18,15 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +/* Add prototype support. */ +#ifndef PROTO +#if defined (USE_PROTOTYPES) ? USE_PROTOTYPES : defined (__STDC__) +#define PROTO(ARGS) ARGS +#else +#define PROTO(ARGS) () +#endif +#endif + #ifndef HAVE_MACHINE_MODES /* Strictly speaking, this isn't the proper place to include these definitions, @@ -131,11 +140,11 @@ extern enum machine_mode mode_wider_mode[]; If LIMIT is nonzero, then don't use modes bigger than MAX_FIXED_MODE_SIZE. The value is BLKmode if no other mode is found. */ -extern enum machine_mode mode_for_size (); +extern enum machine_mode mode_for_size PROTO((unsigned int, enum mode_class, int)); /* Find the best mode to use to access a bit field. */ -extern enum machine_mode get_best_mode (); +extern enum machine_mode get_best_mode PROTO((int, int, int, enum machine_mode, int)); /* Determine alignment, 1<=result<=BIGGEST_ALIGNMENT. */ |