summaryrefslogtreecommitdiffstats
path: root/tc
diff options
context:
space:
mode:
author2!tgraf <2!tgraf>2005-01-18 00:09:02 +0000
committer2!tgraf <2!tgraf>2005-01-18 00:09:02 +0000
commitfe102f610a7c6be1b5142920f7e9c42d5c839819 (patch)
treeab0f37bee760e7e4493dfbb25fbcdef74a4ffaa9 /tc
parentcc682e192c09f4491f6b49a347f8bf92ee345f92 (diff)
move dl body cache into get_pedit_kind
(Logical change 1.125)
Diffstat (limited to 'tc')
-rw-r--r--tc/m_pedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tc/m_pedit.c b/tc/m_pedit.c
index 7c72105b..704bb04e 100644
--- a/tc/m_pedit.c
+++ b/tc/m_pedit.c
@@ -29,7 +29,6 @@
#include "tc_util.h"
#include "m_pedit.h"
-void *pBODY;
static struct m_pedit_util *pedit_list;
int pedit_debug = 1;
@@ -72,6 +71,7 @@ pedit_parse_nopopt (int *argc_p, char ***argv_p,struct tc_pedit_sel *sel,struct
struct m_pedit_util
*get_pedit_kind(char *str)
{
+ static void *pBODY;
void *dlh;
char buf[256];
struct m_pedit_util *p;