diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-03-20 02:17:20 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-03-20 02:17:20 +0000 |
commit | fbd0a1aced0bb045b6ed41a769a0d8b5a0b073fc (patch) | |
tree | ca321d72ba838fd9f30b00fc2dfa9cc47c34cc20 /gcc/machmode.h | |
parent | 0799286bb5af2ddcd040b83c2fc547f24c91cf6c (diff) | |
download | gcc-fbd0a1aced0bb045b6ed41a769a0d8b5a0b073fc.tar.gz |
Add prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3794 138bc75d-0d04-0410-961f-82ee72b054a4
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 921ffd51fd9..240bd5725f3 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. */ |