diff options
author | 2011-07-25 16:21:22 +0000 | |
---|---|---|
committer | 2011-07-25 16:21:22 +0000 | |
commit | 8df23932ba4c8ebc0c240d6235d7206c531a8c84 (patch) | |
tree | 9edaa8d1e51bd16b23edd19f3b88e04492a1d92c | |
parent | Make huge constants actually long, so they don't overflow and become (diff) | |
download | wireguard-openbsd-8df23932ba4c8ebc0c240d6235d7206c531a8c84.tar.xz wireguard-openbsd-8df23932ba4c8ebc0c240d6235d7206c531a8c84.zip |
- Use strtof instead of casting strtod back to float (apprentice.c),
- Don't reimplement strndup (softmagic.c).
OK millert@.
-rw-r--r-- | usr.bin/file/config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/file/config.h b/usr.bin/file/config.h index a3b56dc19e1..1cf2668d168 100644 --- a/usr.bin/file/config.h +++ b/usr.bin/file/config.h @@ -4,7 +4,7 @@ * but can still carefully import stuff from Christos' version. * * This file is in the public domain. Original Author Ian F. Darwin. - * $OpenBSD: config.h,v 1.6 2011/01/10 20:59:42 deraadt Exp $ + * $OpenBSD: config.h,v 1.7 2011/07/25 16:21:22 martynas Exp $ */ /* header file issues. */ @@ -23,6 +23,8 @@ #define HAVE_STRERROR #define HAVE_VSNPRINTF #define HAVE_SNPRINTF +#define HAVE_STRNDUP +#define HAVE_STRTOF /* Compiler issues */ #define SIZEOF_LONG_LONG 8 |