summaryrefslogtreecommitdiff
path: root/ddb/db_macro.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-16 09:37:02 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-17 21:42:32 +0100
commit44cb653ff69d1041c1e24e6da469c9bb86564a51 (patch)
tree0afc611f347feab2fb9f458110ee3f5a569b4d47 /ddb/db_macro.c
parent7ae7718d75fc924a66b78ec2b7311f0032770601 (diff)
ddb/db_macro.c: remove register qualifiers
* ddb/db_macro.c: Remove register qualifiers.
Diffstat (limited to 'ddb/db_macro.c')
-rw-r--r--ddb/db_macro.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ddb/db_macro.c b/ddb/db_macro.c
index 43bb583..5b4264c 100644
--- a/ddb/db_macro.c
+++ b/ddb/db_macro.c
@@ -61,7 +61,7 @@ static struct db_user_macro *
db_lookup_macro(name)
char *name;
{
- register struct db_user_macro *mp;
+ struct db_user_macro *mp;
for (mp = db_user_macro; mp < &db_user_macro[DB_NUSER_MACRO]; mp++) {
if (mp->m_name[0] == 0)
@@ -75,9 +75,9 @@ db_lookup_macro(name)
void
db_def_macro_cmd()
{
- register char *p;
- register int c;
- register struct db_user_macro *mp, *ep;
+ char *p;
+ int c;
+ struct db_user_macro *mp, *ep;
if (db_read_token() != tIDENT) {
db_printf("Bad macro name \"%s\"\n", db_tok_string);
@@ -106,7 +106,7 @@ db_def_macro_cmd()
void
db_del_macro_cmd()
{
- register struct db_user_macro *mp;
+ struct db_user_macro *mp;
if (db_read_token() != tIDENT
|| (mp = db_lookup_macro(db_tok_string)) == 0) {
@@ -122,7 +122,7 @@ db_del_macro_cmd()
void
db_show_macro()
{
- register struct db_user_macro *mp;
+ struct db_user_macro *mp;
int t;
char *name = 0;
@@ -143,8 +143,8 @@ int
db_exec_macro(name)
char *name;
{
- register struct db_user_macro *mp;
- register int n;
+ struct db_user_macro *mp;
+ int n;
if ((mp = db_lookup_macro(name)) == 0)
return(-1);