summaryrefslogtreecommitdiff
path: root/ACE/ace/ETCL
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2017-06-21 20:49:40 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2017-06-21 20:49:40 +0200
commit126439237eeccce05608d9d431e3bf1c4d68e49a (patch)
tree5da8e989ecd90e15dddb66801980af526124ddb0 /ACE/ace/ETCL
parent247ef819c09c78d5bd11ce03d61a658ff105d581 (diff)
downloadATCD-126439237eeccce05608d9d431e3bf1c4d68e49a.tar.gz
Removed ACE_REGISTER completely. register is a compiler hint which is mostly ignored by compilers and recent compilers all give warnings when register is still used.
* ACE/ASNMP/asnmp/asn1.cpp: * ACE/ace/CDR_Base.cpp: * ACE/ace/CDR_Base.inl: * ACE/ace/ETCL/ETCL_y.cpp: * ACE/ace/Global_Macros.h: * ACE/ace/Handle_Set.cpp: * ACE/ace/OS_NS_stdlib.cpp: * ACE/ace/OS_NS_string.cpp:
Diffstat (limited to 'ACE/ace/ETCL')
-rw-r--r--ACE/ace/ETCL/ETCL_y.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/ACE/ace/ETCL/ETCL_y.cpp b/ACE/ace/ETCL/ETCL_y.cpp
index bee4ad17f11..2744a3c238a 100644
--- a/ACE/ace/ETCL/ETCL_y.cpp
+++ b/ACE/ace/ETCL/ETCL_y.cpp
@@ -487,9 +487,9 @@ __yy_memcpy (to, from, count)
char *from;
unsigned int count;
{
- ACE_REGISTER char *f = from;
- ACE_REGISTER char *t = to;
- ACE_REGISTER int i = count;
+ char *f = from;
+ char *t = to;
+ int i = count;
while (i-- > 0)
*t++ = *f++;
@@ -502,9 +502,9 @@ __yy_memcpy (to, from, count)
static void
__yy_memcpy (char *to, char *from, unsigned int count)
{
- ACE_REGISTER char *t = to;
- ACE_REGISTER char *f = from;
- ACE_REGISTER int i = count;
+ char *t = to;
+ char *f = from;
+ int i = count;
while (i-- > 0)
*t++ = *f++;
@@ -547,10 +547,10 @@ int
yyparse(YYPARSE_PARAM_ARG)
YYPARSE_PARAM_DECL
{
- ACE_REGISTER int yystate;
- ACE_REGISTER int yyn;
- ACE_REGISTER short *yyssp;
- ACE_REGISTER YYSTYPE *yyvsp;
+ int yystate;
+ int yyn;
+ short *yyssp;
+ YYSTYPE *yyvsp;
int yyerrstatus; /* number of tokens to shift before error messages enabled */
int yychar1 = 0; /* lookahead token as an internal (translated) token number */