summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2014-04-03 13:46:04 -0700
committerDaniel Colascione <dancol@dancol.org>2014-04-03 13:46:04 -0700
commitc72d972c5dee96489a3fd881b239f3f7d0db2385 (patch)
treee2004a9d5ed96a27bf9f88a9bfe2b2c097245e29 /src/emacs.c
parent705cf384bec23354ad22a5c48d3430a96ef70ca1 (diff)
downloademacs-c72d972c5dee96489a3fd881b239f3f7d0db2385.tar.gz
Rename EARRAYSIZE to ARRAYELTS
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs.c b/src/emacs.c
index a481a9c3d7f..75498dce50e 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -1817,7 +1817,7 @@ sort_args (int argc, char **argv)
}
/* Look for a match with a known old-fashioned option. */
- for (i = 0; i < EARRAYSIZE (standard_args); i++)
+ for (i = 0; i < ARRAYELTS (standard_args); i++)
if (!strcmp (argv[from], standard_args[i].name))
{
options[from] = standard_args[i].nargs;
@@ -1839,7 +1839,7 @@ sort_args (int argc, char **argv)
match = -1;
- for (i = 0; i < EARRAYSIZE (standard_args); i++)
+ for (i = 0; i < ARRAYELTS (standard_args); i++)
if (standard_args[i].longname
&& !strncmp (argv[from], standard_args[i].longname,
thislen))