Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
b=16909 Suppress "changing the import ..." warning.
[fs/lustre-release.git]
/
libsysio
/
tests
/
drv_init_all.c
1
#include <stdio.h>
2
3
extern int (*drvinits[])(void);
4
5
/*
6
* Init all the drivers we know about.
7
*/
8
int
9
drv_init_all()
10
{
11
int (**f)(void);
12
int err;
13
14
err = 0;
15
f = drvinits;
16
while (*f) {
17
err = (**f++)();
18
if (err)
19
return err;
20
}
21
22
return 0;
23
}