From f787194623aad1517bbcc94864b8c9ebc8c348f0 Mon Sep 17 00:00:00 2001 From: martynas Date: Fri, 8 Aug 2008 00:32:47 +0000 Subject: [PATCH] make _digittoint static --- lib/libm/src/s_nan.c | 4 ++-- 1 file 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)) -- 2.20.1