diff options
| author | Rasmus Villemoes <rv@rasmusvillemoes.dk> | 2014-05-20 01:02:12 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2014-05-22 08:23:26 +0200 |
| commit | 888904f422f28e5c7a89c9741ce036276e0d375c (patch) | |
| tree | 641879901bb05ad34aa5cf4a8ba638c12282c3a2 /man3/argz_add.3 | |
| parent | 06024da0dff622ff7ac81e18c34b8ee30de1f9a8 (diff) | |
| download | man-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.3 | 6 |
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 , |
