From 5cbb5115c61bd042021d261969b7798ec6689eb6 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Mon, 2 Nov 2015 10:27:02 +0000 Subject: [PATCH] Deleting an unused type definition. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5387 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ src/nano.h | 18 ------------------ 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/ChangeLog b/ChangeLog index 961032f4..94030c51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2015-11-02 Benno Schulenberg + * src/nano.h: Delete an unused type definition. + 2015-10-31 Benno Schulenberg * src/nano.c (copy_from_filestruct): When pasting while the mark is on, the mark's pointer needs to be refreshed only when it is on the diff --git a/src/nano.h b/src/nano.h index 4346eff5..8eaeb3b7 100644 --- a/src/nano.h +++ b/src/nano.h @@ -416,24 +416,6 @@ typedef struct openfilestruct { /* Previous node. */ } openfilestruct; -typedef struct shortcut { - const char *desc; - /* The function's description, e.g. "Page Up". */ -#ifndef DISABLE_HELP - const char *help; - /* The help file entry text for this function. */ - bool blank_after; - /* Whether there should be a blank line after the help entry - * text for this function. */ -#endif - bool viewok; - /* Is this function allowed when in view mode? */ - void (*func)(void); - /* The function to call when we get this key. */ - struct shortcut *next; - /* Next shortcut. */ -} shortcut; - #ifndef DISABLE_NANORC typedef struct rcoption { const char *name; -- 2.39.5