From 75ff2ca73ba2697354134bc5e190d43338df558f Mon Sep 17 00:00:00 2001 From: Greg McGary Date: Thu, 24 Aug 2000 20:32:41 +0000 Subject: 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 --- gcc/f/proj.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gcc/f/proj.h') 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) */ -- cgit v1.1