patch-tests_asynchelper_h 751 B

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