Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-9897 utils: have lfs.c use lstddef.h
[fs/lustre-release.git]
/
lustre
/
utils
/
lfs.c
diff --git
a/lustre/utils/lfs.c
b/lustre/utils/lfs.c
index
1753019
..
1bef5bf
100644
(file)
--- a/
lustre/utils/lfs.c
+++ b/
lustre/utils/lfs.c
@@
-77,10
+77,7
@@
#include <linux/lustre/lustre_param.h>
#include <linux/lnet/nidstr.h>
#include <lnetconfig/cyaml.h>
#include <linux/lustre/lustre_param.h>
#include <linux/lnet/nidstr.h>
#include <lnetconfig/cyaml.h>
-
-#ifndef ARRAY_SIZE
-# define ARRAY_SIZE(a) ((sizeof(a)) / (sizeof((a)[0])))
-#endif /* !ARRAY_SIZE */
+#include "lstddef.h"
/* all functions */
static int lfs_find(int argc, char **argv);
/* all functions */
static int lfs_find(int argc, char **argv);