summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/strtod
diff options
context:
space:
mode:
authorjsg <>2017-02-25 07:28:32 +0000
committerjsg <>2017-02-25 07:28:32 +0000
commit934315404d85741a9a7d8aa633e0a32ad3fdc235 (patch)
treea0c60b59c92178da9cae05c466c9bb7f3f1623b9 /src/regress/lib/libc/strtod
parenta81f78972dfa24aa2335b2dbacc331260359a43e (diff)
downloadopenbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.tar.gz
openbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.tar.bz2
openbsd-934315404d85741a9a7d8aa633e0a32ad3fdc235.zip
Add missing includes to avoid implicit function declarations.
Diffstat (limited to 'src/regress/lib/libc/strtod')
-rw-r--r--src/regress/lib/libc/strtod/strtodtest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regress/lib/libc/strtod/strtodtest.c b/src/regress/lib/libc/strtod/strtodtest.c
index 0291365a75..570a002b18 100644
--- a/src/regress/lib/libc/strtod/strtodtest.c
+++ b/src/regress/lib/libc/strtod/strtodtest.c
@@ -1,9 +1,10 @@
1/* $OpenBSD: strtodtest.c,v 1.1 2006/09/29 11:00:24 otto Exp $ */ 1/* $OpenBSD: strtodtest.c,v 1.2 2017/02/25 07:28:32 jsg Exp $ */
2/* Public domain, Otto Moerbeek <otto@drijf.net>, 2006. */ 2/* Public domain, Otto Moerbeek <otto@drijf.net>, 2006. */
3 3
4#include <stdio.h> 4#include <stdio.h>
5#include <stdlib.h> 5#include <stdlib.h>
6#include <errno.h> 6#include <errno.h>
7#include <err.h>
7 8
8/* 9/*
9 * Checks if strtod() reports underflow. 10 * Checks if strtod() reports underflow.