From: Benno Schulenberg Date: Mon, 2 Nov 2015 10:27:02 +0000 (+0000) Subject: Deleting an unused type definition. X-Git-Tag: v2.5.0~75 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5cbb5115c61bd042021d261969b7798ec6689eb6;p=nano.git Deleting an unused type definition. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5387 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;