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:
committed by
Linus Torvalds
parent
9489673a1b
commit
3b4567fb81
5
epath.h
5
epath.h
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user