summaryrefslogtreecommitdiff
path: root/src/libexecline/exlsn_multidefine.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-03-08 11:10:07 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-03-08 11:10:07 +0000
commite5d4b64f13683c30ccdd333260febd57d2cdc2d7 (patch)
tree98ddb6b9b1b1812ae1d8ec2f418016b56e4ffcfd /src/libexecline/exlsn_multidefine.c
parent5d0fa4b94d993a7a292554c7cce61be355e65b75 (diff)
downloadexecline-e5d4b64f13683c30ccdd333260febd57d2cdc2d7.tar.xz
Adapt to skalibs 2.5.0.0 API
Diffstat (limited to 'src/libexecline/exlsn_multidefine.c')
-rw-r--r--src/libexecline/exlsn_multidefine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexecline/exlsn_multidefine.c b/src/libexecline/exlsn_multidefine.c
index 9c5e248..4d84055 100644
--- a/src/libexecline/exlsn_multidefine.c
+++ b/src/libexecline/exlsn_multidefine.c
@@ -23,7 +23,7 @@ int exlsn_multidefine (int argc, char const **argv, char const *const *envp, exl
si.split = 1 ;
for (;;)
{
- register int opt = subgetopt_r(argc, argv, "0rnCcd:", &localopt) ;
+ int opt = subgetopt_r(argc, argv, "0rnCcd:", &localopt) ;
if (opt < 0) break ;
switch (opt)
{
@@ -45,7 +45,7 @@ int exlsn_multidefine (int argc, char const **argv, char const *const *envp, exl
if (argc1 >= argc) return -3 ;
if (!stralloc_cats(&info->values, x)) return -1 ;
{
- register int r = el_transform(&info->values, valbase, &si) ;
+ int r = el_transform(&info->values, valbase, &si) ;
if (r < 0) goto err ;
max = r ;
}