These are warnings issued by gcc-4.9 with -Wall option (which will be added in 
a later patch)

async_speed.c: In function 'encrypt_data':
async_speed.c:100:2: warning: implicit declaration of function 'alarm' 
[-Wimplicit-function-declaration]
  alarm(5);
  ^
async_speed.c: In function 'main':
async_speed.c:216:2: warning: implicit declaration of function 'close' 
[-Wimplicit-function-declaration]
  close(fdc);
  ^

Signed-off-by: Cristian Stoica <cristian.sto...@nxp.com>
---
 tests/async_speed.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/async_speed.c b/tests/async_speed.c
index 924b560..5e64488 100644
--- a/tests/async_speed.c
+++ b/tests/async_speed.c
@@ -26,6 +26,8 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include <signal.h>
+#include <unistd.h>
+#include <stdint.h>
 #include <crypto/cryptodev.h>
 
 #ifdef ENABLE_ASYNC
-- 
2.7.3


_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to