fix const related warning
---
user/lib/libc/string/strftime.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/user/lib/libc/string/strftime.c b/user/lib/libc/string/strftime.c
index ded54e6..8f5c2ff 100755
--- a/user/lib/libc/string/strftime.c
+++ b/user/lib/libc/string/strftime.c
@@ -54,7 +54,7 @@ static const char *Bfmt[] = {
static size_t gsize;
static char *pt;
-static int _add __P((char *));
+static int _add __P((const char *));
static int _conv __P((int, int, int));
static int _secs __P((const struct tm *));
static size_t _fmt __P((const char *, const struct tm *));
@@ -277,7 +277,7 @@ _conv(n, digits, pad)
static int
_add(str)
- register char *str;
+ register const char *str;
{
for (;; ++pt, --gsize) {
if (!gsize)
--
1.5.0.3.GIT
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel