From: Václav Slavík Date: Fri, 30 Apr 2004 13:17:38 +0000 (+0000) Subject: don't export private symbols X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8ef11eb628b61b06030fa213baf30630b88d5fd6?ds=inline don't export private symbols git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/png/pngerror.c b/src/png/pngerror.c index f66e90000d..3dd1dae014 100644 --- a/src/png/pngerror.c +++ b/src/png/pngerror.c @@ -109,9 +109,9 @@ static PNG_CONST char png_digit[16] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' }; -size_t wxstrnlen( const char *s, size_t maxlen ) +static size_t wxstrnlen( const char *s, size_t maxlen ) { - int i ; + size_t i ; for ( i = 0 ; s[i] && i < maxlen ; ++i ) ; return i ;