+Fri May 31 21:54:37 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * libF77/F77_aloc.c, libF77/exit_.c, libF77/main.c,
+ libF77/s_paus.c, libF77/s_stop.c, libF77/setarg.c,
+ libF77/setsig.c, libF77/sig_die.c, libF77/signal1.h0,
+ libI77/close.c, libI77/dolio.c, libI77/fio.h, libI77/fmt.h,
+ libI77/lio.h: Delete checks on __cplusplus.
+
Fri May 31 21:50:01 2002 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libF77/*: Delete KR_headers cruft.
static integer memfailure = 3;
#include <stdlib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
extern void G77_exit_0 (integer*);
-#ifdef __cplusplus
- }
-#endif
char *
F77_aloc(integer Len, char *whence)
#undef min
#undef max
#include <stdlib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
extern void f_exit(void);
void
#endif
exit(*rc);
}
-#ifdef __cplusplus
-}
-#endif
#define VOID void
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern void f_exit(void);
#ifndef NO_ONEXIT
#define ONEXIT atexit
extern void f_init(void);
extern int MAIN__(void);
-#ifdef __cplusplus
- }
-#endif
-
main(int argc, char **argv)
{
f_setarg(argc, argv);
#undef min
#undef max
#include <stdlib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
extern int getpid(void), isatty(int), pause(void);
extern VOID f_exit(Void);
fprintf(stderr, "Execution resumes after PAUSE.\n");
fflush(stderr);
return 0; /* NOT REACHED */
-#ifdef __cplusplus
- }
-#endif
}
#undef min
#undef max
#include <stdlib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
void f_exit(void);
int s_stop(char *s, ftnlen n)
return 0; /* NOT REACHED */
}
-#ifdef __cplusplus
-}
-#endif
int f__xargc;
char **f__xargv;
-#ifdef __cplusplus
- }
-#endif
-
void
f_setarg(int argc, char **argv)
{
#define VOID void
#endif
-#ifdef __cplusplus
-extern "C" {
-#endif
-
extern void sig_die(char*, int);
#define Int int
#endif
-#ifdef __cplusplus
- }
-#endif
-
void
f_setsig()
{
#endif
#include <stdlib.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
extern void f_exit(void);
void sig_die(register char *s, int kill)
exit(1);
}
}
-#ifdef __cplusplus
-}
-#endif
#define signal1(a,b) signal(a,(sig_pf)b)
-#ifdef __cplusplus
-#define Sigarg ...
-#define Use_Sigarg
-#else
#define Sigarg Int n
#define Use_Sigarg n = n /* shut up compiler warning */
-#endif
#if defined (MSDOS) && !defined (GO32)
#include "io.h"
#else
-#ifdef __cplusplus
-extern "C" int unlink(const char*);
-#else
extern int unlink(const char*);
#endif
#endif
-#endif
integer f_clos(cllist *a)
{ unit *b;
#include "config.h"
#include "f2c.h"
-#ifdef __cplusplus
-extern "C" {
-#endif
extern int (*f__lioproc)(ftnint*, char*, ftnlen, ftnint);
integer do_lio(ftnint *type, ftnint *number, char *ptr, ftnlen len)
{
return((*f__lioproc)(number,ptr,len,*type));
}
-#ifdef __cplusplus
- }
-#endif
extern flag f__reading,f__external,f__sequential,f__formatted;
#undef Void
#define Void void
-#ifdef __cplusplus
-extern "C" {
-#endif
extern int (*f__getn)(void); /* for formatted input */
extern void (*f__putn)(int); /* for formatted output */
extern void x_putc(int);
extern int err__fl(int,int,char*);
extern int xrd_SL(void);
extern int f__putbuf(int);
-#ifdef __cplusplus
- }
-#endif
extern int (*f__doend)(Void);
extern FILE *f__cf; /*current file*/
extern unit *f__curunit; /*current unit*/
longint ili;
#endif
} Uint;
-#ifdef __cplusplus
-extern "C" {
-#endif
extern int (*f__doed)(struct syl*, char*, ftnlen),(*f__doned)(struct syl*);
extern int (*f__dorevert)(void);
extern void fmt_bg(void);
extern int wrt_E(ufloat*, int, int, int, ftnlen);
extern int wrt_F(ufloat*, int, int, ftnlen);
extern int wrt_L(Uint*, int, ftnlen);
-#ifdef __cplusplus
- }
-#endif
extern flag f__cblank,f__cplus,f__workdone, f__nonl;
extern char *f__fmtbuf;
extern int f__fmtlen;
doublereal fldouble;
} flex;
extern int f__scale;
-#ifdef __cplusplus
-extern "C" {
-#endif
extern int (*f__lioproc)(ftnint*, char*, ftnlen, ftnint);
extern int l_write(ftnint*, char*, ftnlen, ftnint);
extern void x_wsne(cilist*);
extern int l_read(ftnint*,char*,ftnlen,ftnint);
extern integer e_rsle(void), e_wsle(void), s_wsne(cilist*);
extern int z_rnew(void);
-#ifdef __cplusplus
- }
-#endif
extern ftnint L_len;