aboutsummaryrefslogtreecommitdiff
path: root/libf2c/g2c.hin
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2002-06-01 01:58:10 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2002-06-01 01:58:10 +0000
commit9bb2ada61fd7f42321c320b6600e0747160dc180 (patch)
tree577245087472ada0d46ccc8b575444a7f3169104 /libf2c/g2c.hin
parent9321813126821e409516d241805c073635457c8c (diff)
downloadgcc-9bb2ada61fd7f42321c320b6600e0747160dc180.zip
gcc-9bb2ada61fd7f42321c320b6600e0747160dc180.tar.gz
gcc-9bb2ada61fd7f42321c320b6600e0747160dc180.tar.bz2
g2c.hin, [...]: Kill VOID, Void and Int.
* g2c.hin, libF77/d_cnjg.c, libF77/main.c, libF77/r_cnjg.c, libF77/s_cat.c, libF77/s_paus.c, libF77/s_rnge.c, libF77/setarg.c, libF77/setsig.c, libF77/signal1.h0, libI77/dfe.c, libI77/due.c, libI77/err.c, libI77/fio.h, libI77/fmt.c, libI77/iio.c, libI77/ilnw.c, libI77/lread.c, libI77/lwrite.c, libI77/rsfe.c, libI77/rsli.c, libI77/rsne.c, libI77/sfe.c, libI77/sue.c, libI77/util.c, libI77/wrtfmt.c, libI77/wsfe.c, libI77/wsle.c, libI77/xwsne.c, libU77/date_.c: Kill VOID, Void and Int. From-SVN: r54134
Diffstat (limited to 'libf2c/g2c.hin')
-rw-r--r--libf2c/g2c.hin20
1 files changed, 9 insertions, 11 deletions
diff --git a/libf2c/g2c.hin b/libf2c/g2c.hin
index 57947ce..577ea2b 100644
--- a/libf2c/g2c.hin
+++ b/libf2c/g2c.hin
@@ -132,8 +132,6 @@ typedef struct
ftnlen inblanklen;
} inlist;
-#define VOID void
-
union Multitype { /* for multiple entry points */
integer1 g;
shortint h;
@@ -183,11 +181,11 @@ typedef shortint (*J_fp)(...);
typedef integer (*I_fp)(...);
typedef real (*R_fp)(...);
typedef doublereal (*D_fp)(...), (*E_fp)(...);
-typedef /* Complex */ VOID (*C_fp)(...);
-typedef /* Double Complex */ VOID (*Z_fp)(...);
+typedef /* Complex */ void (*C_fp)(...);
+typedef /* Double Complex */ void (*Z_fp)(...);
typedef logical (*L_fp)(...);
typedef shortlogical (*K_fp)(...);
-typedef /* Character */ VOID (*H_fp)(...);
+typedef /* Character */ void (*H_fp)(...);
typedef /* Subroutine */ int (*S_fp)(...);
#else
typedef int /* Unknown procedure type */ (*U_fp)();
@@ -195,17 +193,17 @@ typedef shortint (*J_fp)();
typedef integer (*I_fp)();
typedef real (*R_fp)();
typedef doublereal (*D_fp)(), (*E_fp)();
-typedef /* Complex */ VOID (*C_fp)();
-typedef /* Double Complex */ VOID (*Z_fp)();
+typedef /* Complex */ void (*C_fp)();
+typedef /* Double Complex */ void (*Z_fp)();
typedef logical (*L_fp)();
typedef shortlogical (*K_fp)();
-typedef /* Character */ VOID (*H_fp)();
+typedef /* Character */ void (*H_fp)();
typedef /* Subroutine */ int (*S_fp)();
#endif
/* E_fp is for real functions when -R is not specified */
-typedef VOID C_f; /* complex function */
-typedef VOID H_f; /* character function */
-typedef VOID Z_f; /* double complex function */
+typedef void C_f; /* complex function */
+typedef void H_f; /* character function */
+typedef void Z_f; /* double complex function */
typedef doublereal E_f; /* real function with -R not specified */
/* undef any lower-case symbols that your C compiler predefines, e.g.: */