aboutsummaryrefslogtreecommitdiff
path: root/gcc/f/proj.h
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-08-24 20:32:41 +0000
committerGreg McGary <gkm@gcc.gnu.org>2000-08-24 20:32:41 +0000
commit75ff2ca73ba2697354134bc5e190d43338df558f (patch)
tree068b4c446b7561e0b416d89d948de5cebe1b7d1b /gcc/f/proj.h
parentb6a1cbaeb19076fca9b0deb00138fedf0c8c36ff (diff)
downloadgcc-75ff2ca73ba2697354134bc5e190d43338df558f.zip
gcc-75ff2ca73ba2697354134bc5e190d43338df558f.tar.gz
gcc-75ff2ca73ba2697354134bc5e190d43338df558f.tar.bz2
intdoc.c (ARRAY_SIZE): Remove macro.
* intdoc.c (ARRAY_SIZE): Remove macro. * proj.h (ARRAY_SIZE): Remove macro. * com.c (init_decl_processing): Use ARRAY_SIZE. From-SVN: r35950
Diffstat (limited to 'gcc/f/proj.h')
-rw-r--r--gcc/f/proj.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/f/proj.h b/gcc/f/proj.h
index d0b41a2..0a180d3 100644
--- a/gcc/f/proj.h
+++ b/gcc/f/proj.h
@@ -1,5 +1,5 @@
/* proj.h file for Gnu Fortran
- Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 2000 Free Software Foundation, Inc.
Contributed by James Craig Burley.
This file is part of GNU Fortran.
@@ -58,8 +58,6 @@ typedef enum
Doggone_Trailing_Comma_Dont_Work = 1
} bool;
-#define ARRAY_SIZE(a) (sizeof(a)/sizeof(a[0]))
-
#ifndef UNUSED /* Compile with -DUNUSED= if cc doesn't support this. */
#define UNUSED ATTRIBUTE_UNUSED
#endif /* !defined (UNUSED) */