svn commit: r238111 - in head: include lib/libc/stdio
Pawel Jakub Dawidek
pjd at FreeBSD.org
Wed Jul 4 17:35:08 UTC 2012
Author: pjd
Date: Wed Jul 4 17:35:07 2012
New Revision: 238111
URL: http://svn.freebsd.org/changeset/base/238111
Log:
The register_printf_render_std() function expects regular string.
Change argument type from 'const unsigned char *' to 'const char *'.
MFC after: 2 weeks
Modified:
head/include/printf.h
head/lib/libc/stdio/xprintf.c
Modified: head/include/printf.h
==============================================================================
--- head/include/printf.h Wed Jul 4 17:31:53 2012 (r238110)
+++ head/include/printf.h Wed Jul 4 17:35:07 2012 (r238111)
@@ -123,7 +123,7 @@ int register_printf_function(int spec, p
/* FreeBSD */
int register_printf_render(int spec, printf_render *render, printf_arginfo_function *arginfo);
-int register_printf_render_std(const unsigned char *specs);
+int register_printf_render_std(const char *specs);
/* vprintf_errno.c */
printf_arginfo_function __printf_arginfo_errno;
Modified: head/lib/libc/stdio/xprintf.c
==============================================================================
--- head/lib/libc/stdio/xprintf.c Wed Jul 4 17:31:53 2012 (r238110)
+++ head/lib/libc/stdio/xprintf.c Wed Jul 4 17:35:07 2012 (r238111)
@@ -651,7 +651,7 @@ register_printf_render(int spec, printf_
}
int
-register_printf_render_std(const unsigned char *specs)
+register_printf_render_std(const char *specs)
{
for (; *specs != '\0'; specs++) {
More information about the svn-src-head
mailing list