From e856cc0ecdbfa7f0f07c459af2a2f3ed5a8f7515 Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Sun, 11 Dec 2011 22:08:55 +0000 Subject: Patch by Ben Gras fixing a few minor issues: adds missing includes, fixes the ntohs prototype in klee-libc, and removes some unused code. git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@146352 91177308-0d34-0410-b5e6-96231b3b80d8 --- runtime/klee-libc/htonl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/klee-libc') diff --git a/runtime/klee-libc/htonl.c b/runtime/klee-libc/htonl.c index cec2d0f5..521ef5d6 100644 --- a/runtime/klee-libc/htonl.c +++ b/runtime/klee-libc/htonl.c @@ -41,7 +41,7 @@ uint32_t htonl(uint32_t v) { #endif -uint16_t ntohs(uint32_t v) { +uint16_t ntohs(uint16_t v) { return htons(v); } uint32_t ntohl(uint32_t v) { -- cgit 1.4.1