sparse: Remove prototypes for thread-unsafe functions from headers.
authorBen Pfaff <blp@nicira.com>
Wed, 19 Jun 2013 18:44:48 +0000 (11:44 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 20 Jun 2013 18:20:09 +0000 (11:20 -0700)
This ensures that attempts to use them cause sparse to complain.

Signed-off-by: Ben Pfaff <blp@nicira.com>
include/sparse/math.h
include/sparse/netinet/in.h

index f94c527..c2d6156 100644 (file)
@@ -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);
index b3924c3..87d48d6 100644 (file)
@@ -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 *);