diff options
author | Pavel Kotucek <pavel.kotucek@pantheon.tech> | 2019-04-29 08:35:06 +0200 |
---|---|---|
committer | Hongjun Ni <hongjun.ni@intel.com> | 2019-05-15 03:00:36 +0000 |
commit | 8e38dbd3dd5f11e62e9acfed3660c02dc56236b5 (patch) | |
tree | 54eaef39ee26b0d0d25da5d3b745e567b1682f31 /src/scvpp/src/comm.c | |
parent | 6f6ea23e7114520fe25245effd4120294841f3a2 (diff) |
Fixed ACL compiler warnings
Fixed warnings :
- scvpp/inc/scvpp/comm.h:52:0: warning: "ARG_CHECK" redefined
- comm.c:127:12: warning: return discards 'const' qualifier from pointer
target type [-Wdiscarded-qualifiers]
Change-Id: I666c0347d10435681220c451976194e655d8aa04
Signed-off-by: Pavel Kotucek <pavel.kotucek@pantheon.tech>
Diffstat (limited to 'src/scvpp/src/comm.c')
-rw-r--r-- | src/scvpp/src/comm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scvpp/src/comm.c b/src/scvpp/src/comm.c index 0169d0a..532ee1e 100644 --- a/src/scvpp/src/comm.c +++ b/src/scvpp/src/comm.c @@ -111,7 +111,7 @@ int sc_pton(int af, const char *cp, u8 * buf) return 0; } -char* sc_ntop(int af, const u8 * buf, char *addr) +const char* sc_ntop(int af, const u8 * buf, char *addr) { ARG_CHECK(NULL, buf); ARG_CHECK(NULL, addr); |