From dc883cff8df38fd181e0665131e561f89f533cd1 Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Thu, 1 Oct 2015 14:03:08 +0900 Subject: [PATCH] opal/util: fix parse_ipv4_dots prototype --- opal/util/if.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/opal/util/if.c b/opal/util/if.c index 472dfe9aeb..7d97e347a0 100644 --- a/opal/util/if.c +++ b/opal/util/if.c @@ -14,6 +14,8 @@ * Copyright (c) 2010-2015 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2014 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2015 Research Organization for Information Science + * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -595,7 +597,7 @@ opal_ifislocal(const char *hostname) return false; } -static uint32_t parse_ipv4_dots(const char *addr, uint32_t* net, int* dots) +static int parse_ipv4_dots(const char *addr, uint32_t* net, int* dots) { const char *start = addr, *end; uint32_t n[]={0,0,0,0};