diff options
| author | Michael Biebl <biebl@debian.org> | 2025-08-01 19:15:18 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2025-08-01 19:15:18 +0200 |
| commit | 43a9f1ee48d7f7b9f4447e9fe17a4274c6fad67f (patch) | |
| tree | 5f570d79dfc6eb4c736b708a99b3b2e5ed7608d1 /src/nmcli/common.h | |
| parent | e0a3970cd0ea64b36773deae96366bbe7d1efbee (diff) | |
| parent | 7e9091a5960f67a84787c03153324915220e4816 (diff) | |
Update upstream source from tag 'upstream/1.54.0'
Update to upstream version '1.54.0' with Debian dir efd253369d835d8f9c404eef4f97d88deb9625fe
Diffstat (limited to 'src/nmcli/common.h')
| -rw-r--r-- | src/nmcli/common.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/nmcli/common.h b/src/nmcli/common.h index 892b2d4e..2ed13054 100644 --- a/src/nmcli/common.h +++ b/src/nmcli/common.h @@ -50,17 +50,9 @@ char *nmc_rl_gen_func_ifnames(const char *text, int state); gboolean nmc_get_in_readline(void); void nmc_set_in_readline(gboolean in_readline); -#if HAVE_EDITLINE_READLINE -/* libedit has different signature for rl_startup_hook function */ -#define _NMC_RL_STARTUPHOOK_ARGS const char *c, int i -#else -/* By default the libreadline shall be used */ -#define _NMC_RL_STARTUPHOOK_ARGS void -#endif - /* for pre-filling a string to readline prompt */ extern char *nmc_rl_pre_input_deftext; -int nmc_rl_set_deftext(_NMC_RL_STARTUPHOOK_ARGS); +int nmc_rl_set_deftext(void); char *nmc_parse_lldp_capabilities(guint value); |