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
b=18751 Move prng.c to libcfs
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
user-prim.h
diff --git
a/libcfs/include/libcfs/user-prim.h
b/libcfs/include/libcfs/user-prim.h
index
9b2755c
..
8605d37
100644
(file)
--- a/
libcfs/include/libcfs/user-prim.h
+++ b/
libcfs/include/libcfs/user-prim.h
@@
-200,6
+200,8
@@
typedef struct cfs_group_info {
# define max(x,y) ((x)>(y) ? (x) : (y))
#endif
+#define cfs_get_random_bytes_prim(val, size) (*val) = 0
+
/* utility libcfs init/fini entries */
#ifdef __WINNT__
extern int libcfs_arch_init(void);