summaryrefslogtreecommitdiff
path: root/src/workshop.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-08-08 16:38:42 +0200
committerBram Moolenaar <Bram@vim.org>2010-08-08 16:38:42 +0200
commit09092155a66388bbd7be8d16debb35abfcfae700 (patch)
tree4cbe7f4f0d5c763405f721f7f5dba08864e53ef3 /src/workshop.c
parent83687a72155c70c062c689a9c545b5cdf5ebd0b4 (diff)
downloadvim-git-09092155a66388bbd7be8d16debb35abfcfae700.tar.gz
Remove unused code.
Diffstat (limited to 'src/workshop.c')
-rw-r--r--src/workshop.c55
1 files changed, 0 insertions, 55 deletions
diff --git a/src/workshop.c b/src/workshop.c
index c9c52954d..89f55efc7 100644
--- a/src/workshop.c
+++ b/src/workshop.c
@@ -41,18 +41,12 @@ void workshop_hotkeys(Boolean);
static Boolean isShowing(int);
static win_T *get_window(buf_T *);
-#if 0
-static int get_buffer_number(buf_T *);
-#endif
static void updatePriority(Boolean);
static char *addUniqueMnemonic(char *, char *);
static char *fixup(char *);
static char *get_selection(buf_T *);
static char *append_selection(int, char *, int *, int *);
static void load_buffer_by_name(char *, int);
-#if 0
-static void load_buffer_by_number(int, int);
-#endif
static void load_window(char *, int lnum);
static void warp_to_pc(int);
#ifdef FEAT_BEVAL
@@ -477,22 +471,6 @@ workshop_delete_mark(
coloncmd(cbuf, TRUE);
}
-#if 0 /* not used */
- void
-workshop_delete_all_marks(
- void *window,
- Boolean doRefresh)
-{
-#ifdef WSDEBUG_TRACE
- if (WSDLEVEL(WS_TRACE_VERBOSE | WS_TRACE))
- wstrace("workshop_delete_all_marks(%#x, %s)\n",
- window, doRefresh ? "True" : "False");
-#endif
-
- coloncmd("sign unplace *", TRUE);
-}
-#endif
-
int
workshop_get_mark_lineno(
char *filename,
@@ -517,19 +495,6 @@ workshop_get_mark_lineno(
}
-#if 0 /* not used */
- void
-workshop_adjust_marks(Widget *window, int pos,
- int inserted, int deleted)
-{
-#ifdef WSDEBUG_TRACE
- if (WSDLEVEL(WS_TRACE_VERBOSE | WS_TRACE))
- wstrace("XXXworkshop_adjust_marks(%s, %d, %d, %d)\n",
- window ? XtName(window) : "<None>", pos, inserted, deleted);
-#endif
-}
-#endif
-
/*
* Are there any moved marks? If so, call workshop_move_mark on
* each of them now. This is how eserve can find out if for example
@@ -1362,26 +1327,6 @@ get_window(
}
-#if 0 /* not used */
- static int
-get_buffer_number(
- buf_T *buf) /* buffer to get position of */
-{
- buf_T *bp; /* iterate over buffer list */
- int pos; /* the position in the buffer list */
-
- pos = 1;
- for (bp = firstbuf; bp != NULL; bp = bp->b_next)
- {
- if (bp == buf)
- return pos;
- pos++;
- }
-
- return 1;
-}
-#endif
-
static void
updatePriority(
Boolean subMenu) /* if True then start new submenu pri */