diff options
| author | christos <christos@NetBSD.org> | 2016-02-17 19:47:49 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2016-02-17 19:47:49 +0000 |
| commit | e49871f3623e95d4e76861c2b0abaea4829f8e6a (patch) | |
| tree | 1ed3fcb19d93eb4dcc1093bfb90beb9af1e334e2 /lib/libedit/map.c | |
| parent | c2f393918be24b07704f6666d3a9f7fbe42b979f (diff) | |
whitespace and header sorting changes (Ingo Schwarze). No functional changes.
Diffstat (limited to 'lib/libedit/map.c')
| -rw-r--r-- | lib/libedit/map.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libedit/map.c b/lib/libedit/map.c index 9554e95670d..c368bdbc67f 100644 --- a/lib/libedit/map.c +++ b/lib/libedit/map.c @@ -1,4 +1,4 @@ -/* $NetBSD: map.c,v 1.42 2016/02/16 22:53:14 christos Exp $ */ +/* $NetBSD: map.c,v 1.43 2016/02/17 19:47:49 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)map.c 8.1 (Berkeley) 6/4/93"; #else -__RCSID("$NetBSD: map.c,v 1.42 2016/02/16 22:53:14 christos Exp $"); +__RCSID("$NetBSD: map.c,v 1.43 2016/02/17 19:47:49 christos Exp $"); #endif #endif /* not lint && not SCCSID */ @@ -1159,7 +1159,7 @@ map_print_some_keys(EditLine *el, el_action_t *map, wint_t first, wint_t last) lastbuf[1] = 0; if (map[first] == ED_UNASSIGNED) { if (first == last) { - (void) keymacro__decode_str(firstbuf, unparsbuf, + (void) keymacro__decode_str(firstbuf, unparsbuf, sizeof(unparsbuf), STRQQ); (void) fprintf(el->el_outfile, "%-15s-> is undefined\n", unparsbuf); @@ -1170,14 +1170,14 @@ map_print_some_keys(EditLine *el, el_action_t *map, wint_t first, wint_t last) for (bp = el->el_map.help; bp < ep; bp++) { if (bp->func == map[first]) { if (first == last) { - (void) keymacro__decode_str(firstbuf, unparsbuf, + (void) keymacro__decode_str(firstbuf, unparsbuf, sizeof(unparsbuf), STRQQ); (void) fprintf(el->el_outfile, "%-15s-> " FSTR "\n", unparsbuf, bp->name); } else { - (void) keymacro__decode_str(firstbuf, unparsbuf, + (void) keymacro__decode_str(firstbuf, unparsbuf, sizeof(unparsbuf), STRQQ); - (void) keymacro__decode_str(lastbuf, extrabuf, + (void) keymacro__decode_str(lastbuf, extrabuf, sizeof(extrabuf), STRQQ); (void) fprintf(el->el_outfile, "%-4s to %-7s-> " FSTR "\n", @@ -1188,14 +1188,14 @@ map_print_some_keys(EditLine *el, el_action_t *map, wint_t first, wint_t last) } #ifdef MAP_DEBUG if (map == el->el_map.key) { - (void) keymacro__decode_str(firstbuf, unparsbuf, + (void) keymacro__decode_str(firstbuf, unparsbuf, sizeof(unparsbuf), STRQQ); (void) fprintf(el->el_outfile, "BUG!!! %s isn't bound to anything.\n", unparsbuf); (void) fprintf(el->el_outfile, "el->el_map.key[%d] == %d\n", first, el->el_map.key[first]); } else { - (void) keymacro__decode_str(firstbuf, unparsbuf, + (void) keymacro__decode_str(firstbuf, unparsbuf, sizeof(unparsbuf), STRQQ); (void) fprintf(el->el_outfile, "BUG!!! %s isn't bound to anything.\n", unparsbuf); |
