aboutsummaryrefslogtreecommitdiffstats
path: root/man3/argz_add.3
diff options
context:
space:
mode:
authorRasmus Villemoes <rv@rasmusvillemoes.dk>2014-05-20 01:02:12 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2014-05-22 08:23:26 +0200
commit888904f422f28e5c7a89c9741ce036276e0d375c (patch)
tree641879901bb05ad34aa5cf4a8ba638c12282c3a2 /man3/argz_add.3
parent06024da0dff622ff7ac81e18c34b8ee30de1f9a8 (diff)
downloadman-pages-888904f422f28e5c7a89c9741ce036276e0d375c.tar.gz
argz_add.3: Fix prototypes
Update the prototypes of argz_{delete,extract,next} to agree with glibc headers and manual. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/argz_add.3')
-rw-r--r--man3/argz_add.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/argz_add.3 b/man3/argz_add.3
index 3d07fc0be6..a28f9e299a 100644
--- a/man3/argz_add.3
+++ b/man3/argz_add.3
@@ -33,14 +33,14 @@ argz_next, argz_replace, argz_stringify \- functions to handle an argz list
.BI "error_t argz_create_sep(const char *" str ", int " sep ", char **" argz ,
.BI " size_t *" argz_len );
.sp
-.BI "error_t argz_delete(char **" argz ", size_t *" argz_len ", char *" entry );
+.BI "void argz_delete(char **" argz ", size_t *" argz_len ", char *" entry );
.sp
-.BI "void argz_extract(char *" argz ", size_t " argz_len ", char **" argv );
+.BI "void argz_extract(const char *" argz ", size_t " argz_len ", char **" argv );
.sp
.BI "error_t argz_insert(char **" argz ", size_t *" argz_len ", char *" before ,
.BI " const char *" entry );
.sp
-.BI "char *argz_next(char *" argz ", size_t " argz_len ", const char *" entry );
+.BI "char *argz_next(const char *" argz ", size_t " argz_len ", const char *" entry );
.sp
.BI "error_t argz_replace(char **" argz ", size_t *" argz_len \
", const char *" str ,