summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-27 18:13:23 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-27 18:13:23 +0100
commit85b11769ab507c7df93f319fd964fa579701b76b (patch)
treeb4fdc6eb96c888e12159a007610a3d2cbab3f31c /src/normal.c
parent4d1961783fdcb133b6b181acb7166b9f1872bf09 (diff)
downloadvim-git-85b11769ab507c7df93f319fd964fa579701b76b.tar.gz
patch 7.4.1433v7.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.
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c18
1 files changed, 0 insertions, 18 deletions
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)