From d8e0edec80c0505582c470b681e590bbfa84dcb1 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 19 Jun 2013 11:44:48 -0700 Subject: [PATCH] sparse: Remove prototypes for thread-unsafe functions from headers. This ensures that attempts to use them cause sparse to complain. Signed-off-by: Ben Pfaff --- include/sparse/math.h | 5 +---- include/sparse/netinet/in.h | 3 +-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/include/sparse/math.h b/include/sparse/math.h index f94c527a7..c2d61567d 100644 --- a/include/sparse/math.h +++ b/include/sparse/math.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Nicira, Inc. + * Copyright (c) 2011, 2013 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -108,9 +108,6 @@ double jn(int, double); double ldexp(double, int); float ldexpf(float, int); long double ldexpl(long double, int); -double lgamma(double); -float lgammaf(float); -long double lgammal(long double); long long llrint(double); long long llrintf(float); long long llrintl(long double); diff --git a/include/sparse/netinet/in.h b/include/sparse/netinet/in.h index b3924c3a1..87d48d66b 100644 --- a/include/sparse/netinet/in.h +++ b/include/sparse/netinet/in.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Nicira, Inc. + * Copyright (c) 2011, 2013 Nicira, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -109,7 +109,6 @@ static inline uint16_t ntohs(ovs_be16 x) in_addr_t inet_addr(const char *); int inet_aton (const char *, struct in_addr *); -char *inet_ntoa(struct in_addr); const char *inet_ntop(int, const void *, char *, socklen_t); int inet_pton(int, const char *, void *); -- 2.39.5