diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-08 11:10:07 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-03-08 11:10:07 +0000 |
commit | e5d4b64f13683c30ccdd333260febd57d2cdc2d7 (patch) | |
tree | 98ddb6b9b1b1812ae1d8ec2f418016b56e4ffcfd /src/libexecline/el_semicolon.c | |
parent | 5d0fa4b94d993a7a292554c7cce61be355e65b75 (diff) | |
download | execline-e5d4b64f13683c30ccdd333260febd57d2cdc2d7.tar.xz |
Adapt to skalibs 2.5.0.0 API
Diffstat (limited to 'src/libexecline/el_semicolon.c')
-rw-r--r-- | src/libexecline/el_semicolon.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libexecline/el_semicolon.c b/src/libexecline/el_semicolon.c index dc99daf..cfbfffd 100644 --- a/src/libexecline/el_semicolon.c +++ b/src/libexecline/el_semicolon.c @@ -2,17 +2,17 @@ #include <skalibs/env.h> #include <skalibs/strerr2.h> -#include <skalibs/uint.h> +#include <skalibs/types.h> #include <execline/execline.h> int el_semicolon (char const **argv) { static unsigned int nblock = 0 ; - register int argc1 = 0 ; + int argc1 = 0 ; nblock++ ; for (;; argc1++, argv++) { - register char const *arg = *argv ; + char const *arg = *argv ; if (!arg) return argc1 + 1 ; if ((arg[0] == EXECLINE_BLOCK_END_CHAR) && (!EXECLINE_BLOCK_END_CHAR || !arg[1])) return argc1 ; else if (arg[0] == EXECLINE_BLOCK_QUOTE_CHAR) ++*argv ; |