aboutsummaryrefslogtreecommitdiff
path: root/string/argz-extract.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-09-04 16:27:01 +0000
committerRoland McGrath <roland@gnu.org>1998-09-04 16:27:01 +0000
commit29659dd28d2645f5b349ddf3a6ae7f31f4ba9066 (patch)
treef97aa5cb44cc7b7287b2cd791ed2fa376ab5baa1 /string/argz-extract.c
parent1097c6030a2f99075a259e3b5151122094ab68dc (diff)
downloadglibc-29659dd28d2645f5b349ddf3a6ae7f31f4ba9066.tar
glibc-29659dd28d2645f5b349ddf3a6ae7f31f4ba9066.tar.gz
glibc-29659dd28d2645f5b349ddf3a6ae7f31f4ba9066.tar.bz2
glibc-29659dd28d2645f5b349ddf3a6ae7f31f4ba9066.zip
1998-09-04 Roland McGrath <roland@baalperazim.frob.com>
* string/argz.h (argz_extract, argz_next): Use `const' for ARGZ param. * string/argz-next.c, string/argz-extract.c: Fix defns.
Diffstat (limited to 'string/argz-extract.c')
-rw-r--r--string/argz-extract.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/string/argz-extract.c b/string/argz-extract.c
index ed3a26604d..f03272c9ec 100644
--- a/string/argz-extract.c
+++ b/string/argz-extract.c
@@ -1,7 +1,7 @@
/* Routines for dealing with '\0' separated arg vectors.
- Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1995, 96, 97, 98 Free Software Foundation, Inc.
This file is part of the GNU C Library.
- Written by Miles Bader <miles@gnu.ai.mit.edu>
+ Written by Miles Bader <miles@gnu.org>
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public License as
@@ -23,7 +23,7 @@
/* Puts pointers to each string in ARGZ, plus a terminating 0 element, into
ARGV, which must be large enough to hold them all. */
void
-__argz_extract (char *argz, size_t len, char **argv)
+__argz_extract (const char *argz, size_t len, char **argv)
{
while (len > 0)
{