summaryrefslogtreecommitdiff
path: root/include/sparse
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2013-06-19 11:44:48 -0700
committerBen Pfaff <blp@nicira.com>2013-06-20 11:20:09 -0700
commitd8e0edec80c0505582c470b681e590bbfa84dcb1 (patch)
treec580e303d41acf38506f02b7d8259c959b0ff22a /include/sparse
parent4e022ec09e14ac89add74c1b4b8e3ff3873edbf0 (diff)
downloadopenvswitch-d8e0edec80c0505582c470b681e590bbfa84dcb1.tar.gz
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 <blp@nicira.com>
Diffstat (limited to 'include/sparse')
-rw-r--r--include/sparse/math.h5
-rw-r--r--include/sparse/netinet/in.h3
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 *);