blob: 04adc2b419c48ee41f7376afb46d9f565aa26c84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- cryptodev-linux-a705360197260d28535746ae98c461ba2cfb7a9e.orig/tests/asynchelper.h 2017-06-06 23:28:39.000000000 +0200
+++ cryptodev-linux-a705360197260d28535746ae98c461ba2cfb7a9e/tests/asynchelper.h 2017-06-06 23:34:38.200115116 +0200
@@ -2,7 +2,7 @@
#define __ASYNCHELPER_H
/* poll until POLLOUT, then call CIOCASYNCCRYPT */
-inline int do_async_crypt(int cfd, struct crypt_op *cryp)
+static inline int do_async_crypt(int cfd, struct crypt_op *cryp)
{
struct pollfd pfd;
@@ -22,7 +22,7 @@ inline int do_async_crypt(int cfd, struc
}
/* poll until POLLIN, then call CIOCASYNCFETCH */
-inline int do_async_fetch(int cfd, struct crypt_op *cryp)
+static inline int do_async_fetch(int cfd, struct crypt_op *cryp)
{
struct pollfd pfd;
|