diff mbox

[OVS,1/4] Fix ODP linking test code

Message ID 1414520348-27537-1-git-send-email-zoltan.kiss@linaro.org
State New
Headers show

Commit Message

Zoltan Kiss Oct. 28, 2014, 6:19 p.m. UTC
An empty parameter list is not very standard, better specify it explicitly.

Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
---
 acinclude.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/acinclude.m4 b/acinclude.m4
index 533ed98..5d5ced2 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -300,7 +300,7 @@  AC_DEFUN([OVS_CHECK_ODP], [
         LIBS="-lodp $extras $save_LIBS"
         AC_LINK_IFELSE(
            [AC_LANG_PROGRAM([#include <odp.h>],
-                            [odp_init_global();])],
+                            [odp_init_global(NULL, NULL);])],
            [found=true])
         if $found; then
             break