summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-28 06:57:25 +0000
committerJim Meyering <jim@meyering.net>2001-11-28 06:57:25 +0000
commitff927371bde9d9aefaa86198f5f6554cb5278a4d (patch)
tree43d0342b70b79466d99b005811ed53c5fbd1780a
parent0dc8754559288ca4db87ddcc97d09c48b0b43377 (diff)
downloadcoreutils-ff927371bde9d9aefaa86198f5f6554cb5278a4d.tar.xz
(quotearg_n, quotearg_n_style):
First arg is int, not unsigned.
-rw-r--r--lib/quotearg.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/quotearg.h b/lib/quotearg.h
index f6463b1aa..09000bf68 100644
--- a/lib/quotearg.h
+++ b/lib/quotearg.h
@@ -89,7 +89,7 @@ size_t quotearg_buffer PARAMS ((char *buffer, size_t buffersize,
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 @@ char *quotearg PARAMS ((char const *arg));
/* 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));