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/exlsn_define.c | |
parent | 5d0fa4b94d993a7a292554c7cce61be355e65b75 (diff) | |
download | execline-e5d4b64f13683c30ccdd333260febd57d2cdc2d7.tar.xz |
Adapt to skalibs 2.5.0.0 API
Diffstat (limited to 'src/libexecline/exlsn_define.c')
-rw-r--r-- | src/libexecline/exlsn_define.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexecline/exlsn_define.c b/src/libexecline/exlsn_define.c index 3abe516..066b8ff 100644 --- a/src/libexecline/exlsn_define.c +++ b/src/libexecline/exlsn_define.c @@ -16,7 +16,7 @@ int exlsn_define (int argc, char const **argv, char const *const *envp, exlsn_t blah.value = info->values.len ; for (;;) { - register int opt = subgetopt_r(argc, argv, "nsCcd:", &localopt) ; + int opt = subgetopt_r(argc, argv, "nsCcd:", &localopt) ; if (opt < 0) break ; switch (opt) { @@ -35,7 +35,7 @@ int exlsn_define (int argc, char const **argv, char const *const *envp, exlsn_t if (!stralloc_catb(&info->vars, argv[0], str_len(argv[0]) + 1)) return -1 ; if (!stralloc_cats(&info->values, argv[1])) goto err ; { - register int r = el_transform(&info->values, blah.value, &si) ; + int r = el_transform(&info->values, blah.value, &si) ; if (r < 0) goto err ; blah.n = r ; } |