changeset 23349:8777e3e6f2fa

(quotearg_n, quotearg_n_style): First arg is int, not unsigned.
author Jim Meyering <jim@meyering.net>
date Wed, 28 Nov 2001 06:57:25 +0000
parents e41b7e04f6cc
children 52c57c2437d0
files lib/quotearg.h
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/quotearg.h	Wed Nov 28 06:57:02 2001 +0000
+++ b/lib/quotearg.h	Wed Nov 28 06:57:25 2001 +0000
@@ -89,7 +89,7 @@
    The returned value points to static storage that can be
    reused by the next call to this function with the same value of N.
    N must be nonnegative.  */
-char *quotearg_n PARAMS ((unsigned int n, char const *arg));
+char *quotearg_n PARAMS ((int n, char const *arg));
 
 /* Equivalent to quotearg_n (0, ARG).  */
 char *quotearg PARAMS ((char const *arg));
@@ -97,8 +97,7 @@
 /* Use style S and storage slot N to return a quoted version of the string ARG.
    This is like quotearg_n (N, ARG), except that it uses S with no other
    options to specify the quoting method.  */
-char *quotearg_n_style PARAMS ((unsigned int n, enum quoting_style s,
-				char const *arg));
+char *quotearg_n_style PARAMS ((int n, enum quoting_style s, char const *arg));
 
 /* Equivalent to quotearg_n_style (0, S, ARG).  */
 char *quotearg_style PARAMS ((enum quoting_style s, char const *arg));