diff options
| author | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:03:14 +0200 |
|---|---|---|
| committer | whitespace / reindent <invalid@invalid.invalid> | 2017-07-17 14:04:07 +0200 |
| commit | d62a17aedeb0eebdba98238874bb13d62c48dbf9 (patch) | |
| tree | 3b319b1d61c8b85b4d1f06adf8b844bb8a9b5107 /tests/lib/cli/common_cli.h | |
| parent | 888ac268a0077fc9ebd1218cec6ae472af0bfc40 (diff) | |
*: reindentreindent-master-after
indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'`
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/common_cli.h')
| -rw-r--r-- | tests/lib/cli/common_cli.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/tests/lib/cli/common_cli.h b/tests/lib/cli/common_cli.h index 9a0ef47c83..15abe3b855 100644 --- a/tests/lib/cli/common_cli.h +++ b/tests/lib/cli/common_cli.h @@ -27,22 +27,24 @@ #include "command.h" /* function to be implemented by test */ -extern void test_init (int argc, char **argv); +extern void test_init(int argc, char **argv); /* functions provided by common cli * (includes main()) */ extern struct thread_master *master; -extern int dump_args(struct vty *vty, const char *descr, - int argc, struct cmd_token *argv[]); +extern int dump_args(struct vty *vty, const char *descr, int argc, + struct cmd_token *argv[]); -#define DUMMY_HELPSTR \ - "00\n01\n02\n03\n04\n05\n06\n07\n08\n09\n" \ - "10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n" \ - "20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n" -#define DUMMY_DEFUN(name, cmdstr) \ - DEFUN (name, name ## _cmd, cmdstr, DUMMY_HELPSTR) \ - { return dump_args(vty, #name, argc, argv); } +#define DUMMY_HELPSTR \ + "00\n01\n02\n03\n04\n05\n06\n07\n08\n09\n" \ + "10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n" \ + "20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n" +#define DUMMY_DEFUN(name, cmdstr) \ + DEFUN(name, name##_cmd, cmdstr, DUMMY_HELPSTR) \ + { \ + return dump_args(vty, #name, argc, argv); \ + } #endif /* _COMMON_CLI_H */ |
