diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-07 21:43:42 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-01-07 21:43:42 +0000 |
commit | 1ddf95240c77ae0786dd29e14acdf3549be9094c (patch) | |
tree | ebff87b299cb9fec7a841c03ac13e54a9f165952 /src/skaembutils/s6-quote.c | |
parent | 1a5f11e0cf9e5287a50f032838e787c38003a1a4 (diff) | |
download | s6-portable-utils-1ddf95240c77ae0786dd29e14acdf3549be9094c.tar.xz |
Types fix: first pass
Preparation for the skalibs size_t API change.
Diffstat (limited to 'src/skaembutils/s6-quote.c')
-rw-r--r-- | src/skaembutils/s6-quote.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/skaembutils/s6-quote.c b/src/skaembutils/s6-quote.c index b370e39..6925806 100644 --- a/src/skaembutils/s6-quote.c +++ b/src/skaembutils/s6-quote.c @@ -1,5 +1,6 @@ /* ISC license. */ +#include <sys/types.h> #include <skalibs/sgetopt.h> #include <skalibs/strerr2.h> #include <skalibs/allreadwrite.h> @@ -12,9 +13,9 @@ int main (int argc, char const *const *argv) { stralloc sa = STRALLOC_ZERO ; char const *delim = "\"" ; - unsigned int delimlen ; + size_t delimlen ; + size_t startquote = 1 ; int nl = 1 ; - int startquote = 1 ; PROG = "s6-quote" ; { subgetopt_t l = SUBGETOPT_ZERO ; |