2 * Copyright (c) 1993, 1994 Barton P. Miller, Jeff Hollingsworth,
3 * Bruce Irvin, Jon Cargille, Krishna Kunchithapadam, Karen
4 * Karavanic, Tia Newhall, Mark Callaghan. All rights reserved.
6 * This software is furnished under the condition that it may not be
7 * provided or otherwise made available to, or used by, any other
8 * person, except as provided for by the terms of applicable license
9 * agreements. No title to or ownership of the software is hereby
10 * transferred. The name of the principals may not be used in any
11 * advertising or publicity related to this software without specific,
12 * written prior authorization. Any use of this software must include
13 * the above copyright notice.
21 /************************************************************************
22 * kludges.h: the name says it all. stop compiler warnings.
23 ************************************************************************/
29 #if !defined(_rtinst_src_kludges_h_)
30 #define _rtinst_src_kludges_h_
36 /************************************************************************
38 ************************************************************************/
43 #include <sys/types.h>
49 /************************************************************************
50 * common definitions and declarations.
51 ************************************************************************/
53 typedef void (*Sa_Handler)();
59 /************************************************************************
60 * architecture-os definitions and declarations.
61 ************************************************************************/
63 #if defined(i386_unknown_bsd)
65 #endif /* defined(i386_unknown_bsd) */
69 #if defined(hppa1_1_hp_hpux)
71 #endif /* defined(hppa1_1_hp_hpux) */
75 #if defined(mips_dec_ultrix4_3)
77 #endif /* defined(mips_dec_ultrix4_3) */
81 #if defined(sparc_sun_solaris2_3)
83 #endif /* defined(sparc_sun_solaris2_3) */
87 #if defined(sparc_sun_sunos4_1_3)
89 extern int gettimeofday(struct timeval *, struct timezone *);
90 extern int fclose(FILE *);
91 extern int fflush(FILE *);
92 extern int fprintf(FILE *, const char *, ...);
93 extern int printf(const char *, ...);
94 extern int setitimer(int, struct itimerval *, struct itimerval *);
95 extern int sigpause(int);
96 extern size_t fread(void *, size_t, size_t, FILE *);
97 extern size_t fwrite(void *, size_t, size_t, FILE *);
99 #endif /* defined(sparc_sun_sunos4_1_3) */
105 /************************************************************************
106 * for c-compilers without proper include files.
107 ************************************************************************/
109 #if !defined(__cplusplus)
111 extern int fflush(FILE *);
112 extern int fprintf(FILE *, const char *, ...);
113 extern int printf(const char *, ...);
115 extern void perror(const char *);
118 #endif /* !defined(__cplusplus) */
120 /* If we must make up a boolean type, we should make it unique */
121 #define RT_Boolean unsigned char
128 #endif /* !defined(_rtinst_src_kludges_h_) */