From 85b11769ab507c7df93f319fd964fa579701b76b Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 27 Feb 2016 18:13:23 +0100 Subject: patch 7.4.1433 Problem: The Sniff interface is no longer useful, the tool has not been available for may years. Solution: Delete the Sniff interface and related code. --- src/normal.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/normal.c') diff --git a/src/normal.c b/src/normal.c index d4b4b70fc..b57191ae0 100644 --- a/src/normal.c +++ b/src/normal.c @@ -163,9 +163,6 @@ static void nv_halfpage(cmdarg_T *cap); static void nv_join(cmdarg_T *cap); static void nv_put(cmdarg_T *cap); static void nv_open(cmdarg_T *cap); -#ifdef FEAT_SNIFF -static void nv_sniff(cmdarg_T *cap); -#endif #ifdef FEAT_NETBEANS_INTG static void nv_nbcmd(cmdarg_T *cap); #endif @@ -420,9 +417,6 @@ static const struct nv_cmd {K_F8, farsi_fkey, 0, 0}, {K_F9, farsi_fkey, 0, 0}, #endif -#ifdef FEAT_SNIFF - {K_SNIFF, nv_sniff, 0, 0}, -#endif #ifdef FEAT_NETBEANS_INTG {K_F21, nv_nbcmd, NV_NCH_ALW, 0}, #endif @@ -570,10 +564,6 @@ normal_cmd( * remembered in "opcount". */ ca.opcount = opcount; -#ifdef FEAT_SNIFF - want_sniff_request = sniff_connected; -#endif - /* * If there is an operator pending, then the command we take this time * will terminate it. Finish_op tells us to finish the operation before @@ -9388,14 +9378,6 @@ nv_open(cmdarg_T *cap) n_opencmd(cap); } -#ifdef FEAT_SNIFF - static void -nv_sniff(cmdarg_T *cap UNUSED) -{ - ProcessSniffRequests(); -} -#endif - #ifdef FEAT_NETBEANS_INTG static void nv_nbcmd(cmdarg_T *cap) -- cgit v1.2.1