1
0
mirror of https://github.com/rfivet/uemacs.git synced 2025-11-23 11:41:15 -05:00

uemacs: Use ARRAY_SIZE in more places.

Signed-off-by: Thiago Farina <thiago.farina@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Thiago Farina
2010-06-11 01:32:18 -03:00
committed by Linus Torvalds
parent 9489673a1b
commit 3b4567fb81
4 changed files with 18 additions and 14 deletions

View File

@@ -5,9 +5,10 @@
*
* modified by Petri Kutvonen
*/
#ifndef EPATH_H_
#define EPATH_H_
/* possible names and paths of help files under different OSs */
static char *pathname[] =
#if MSDOS
{
@@ -39,4 +40,4 @@ static char *pathname[] =
"sys$sysdevice:[vmstools]"};
#endif
#define NPNAMES (sizeof(pathname)/sizeof(char *))
#endif /* EPATH_H_ */