summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-08-08 00:32:48 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-08-08 00:32:48 +0000
commit4c10c5e68a8f42c409b579c5235b86d6480271a0 (patch)
tree80cf050406e313538e551bd38238196b20a854b3 /lib
parent35f4d3bedcf80a4bb016a25cb2f4ab38616287ef (diff)
make _digittoint static
Diffstat (limited to 'lib')
-rw-r--r--lib/libm/src/s_nan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libm/src/s_nan.c b/lib/libm/src/s_nan.c
index 6717d6f195a..bb75b4486cd 100644
--- a/lib/libm/src/s_nan.c
+++ b/lib/libm/src/s_nan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: s_nan.c,v 1.1 2008/07/24 09:40:16 martynas Exp $ */
+/* $OpenBSD: s_nan.c,v 1.2 2008/08/08 00:32:47 martynas Exp $ */
/*-
* Copyright (c) 2007 David Schultz
* All rights reserved.
@@ -40,7 +40,7 @@
/*
* OpenBSD's ctype doesn't have digittoint, so we define it here.
*/
-int
+static int
_digittoint(int c)
{
if (!isxdigit(c))