summaryrefslogtreecommitdiff
path: root/gas/itbl-ops.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-03-29 09:05:27 +0000
committerNick Clifton <nickc@redhat.com>2007-03-29 09:05:27 +0000
commit04278a9d0d75c3eee34f0e0ad25914d01ceb47ae (patch)
treec996d1fbaac7256ae6e0e808dcca0677caa76159 /gas/itbl-ops.h
parent18f3be795246ef1d7e61037cf5d2a3d50ffc69ab (diff)
downloadbinutils-redhat-04278a9d0d75c3eee34f0e0ad25914d01ceb47ae.tar.gz
* itbl-ops.c (itbl_entry): Remove unnecessary and excessively long initialization.
* itbl-ops.h (enum e_processor): Initialise the e_nprocs field using ITBL_NUMBER_OF_PROCESSORS. * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
Diffstat (limited to 'gas/itbl-ops.h')
-rw-r--r--gas/itbl-ops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/itbl-ops.h b/gas/itbl-ops.h
index b1687da7c5..d9dbf7c3ca 100644
--- a/gas/itbl-ops.h
+++ b/gas/itbl-ops.h
@@ -1,5 +1,5 @@
/* itbl-ops.h
- Copyright 1997, 1999, 2000, 2003, 2006 Free Software Foundation, Inc.
+ Copyright 1997, 1999, 2000, 2003, 2006, 2007 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -69,7 +69,7 @@ typedef enum
typedef enum
{
e_p0,
- e_nprocs = NUMBER_OF_PROCESSORS,
+ e_nprocs = ITBL_NUMBER_OF_PROCESSORS,
e_invproc /* invalid processor */
} e_processor;