PERFORCE change 129818 for review
John Birrell
jb at FreeBSD.org
Fri Nov 30 00:57:58 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=129818
Change 129818 by jb at jb_freebsd1 on 2007/11/30 08:57:38
Make this compile cleanly.
No vendor branch here. Nyuk Nyuk Nyuk.
Affected files ...
.. //depot/projects/binutils/src/contrib/binutils/intl/l10nflist.c#3 edit
Differences ...
==== //depot/projects/binutils/src/contrib/binutils/intl/l10nflist.c#3 (text+ko) ====
@@ -139,12 +139,12 @@
#endif /* !_LIBC && !HAVE___ARGZ_STRINGIFY */
#if !defined _LIBC && !defined HAVE___ARGZ_NEXT
-static char *argz_next__ PARAMS ((char *argz, size_t argz_len,
+static const char *argz_next__ PARAMS ((const char *argz, size_t argz_len,
const char *entry));
-static char *
+static const char *
argz_next__ (argz, argz_len, entry)
- char *argz;
+ const char *argz;
size_t argz_len;
const char *entry;
{
@@ -366,9 +366,9 @@
if (dirlist_count > 1)
{
/* Iterate over all elements of the DIRLIST. */
- char *dir = NULL;
+ const char *dir = NULL;
- while ((dir = __argz_next ((char *) dirlist, dirlist_len, dir))
+ while ((dir = __argz_next (dirlist, dirlist_len, dir))
!= NULL)
retval->successor[entries++]
= _nl_make_l10nflist (l10nfile_list, dir, strlen (dir) + 1,
More information about the p4-projects
mailing list