From 4b7e91fec2f25f050afcacfb3072978d3548a7b4 Mon Sep 17 00:00:00 2001 From: Clifford Yapp <238416+starseeker@users.noreply.github.com> Date: Tue, 4 Feb 2025 16:34:15 -0500 Subject: [PATCH] Couple cleanups --- src/mged/primitives/ednmg.c | 9 +-------- src/mged/primitives/edvol.c | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/src/mged/primitives/ednmg.c b/src/mged/primitives/ednmg.c index 0223eb5fe4..61c25e228c 100644 --- a/src/mged/primitives/ednmg.c +++ b/src/mged/primitives/ednmg.c @@ -37,6 +37,7 @@ #include "rt/geom.h" #include "raytrace.h" #include "./edfunctab.h" +#include "./ednmg.h" #define ECMD_NMG_EPICK 11019 /* edge pick */ #define ECMD_NMG_EMOVE 11020 /* edge move */ @@ -48,14 +49,6 @@ #define ECMD_NMG_EKILL 11026 /* kill current edge */ #define ECMD_NMG_LEXTRU 11027 /* Extrude loop */ -struct rt_nmg_edit { - struct edgeuse *es_eu; /* Currently selected NMG edgeuse */ - struct loopuse *lu_copy; /* copy of loop to be extruded */ - plane_t lu_pl; /* plane equation for loop to be extruded */ - struct shell *es_s; /* Shell where extrusion is to end up */ - point_t lu_keypoint; /* keypoint of lu_copy for extrusion */ -}; - void * rt_solid_edit_nmg_prim_edit_create(struct rt_solid_edit *UNUSED(s)) { diff --git a/src/mged/primitives/edvol.c b/src/mged/primitives/edvol.c index 16de533de2..8845a3372e 100644 --- a/src/mged/primitives/edvol.c +++ b/src/mged/primitives/edvol.c @@ -47,8 +47,6 @@ #define MENU_VOL_THRESH_LO 13078 #define MENU_VOL_THRESH_HI 13079 -extern const char * get_file_name(struct rt_solid_edit *s, char *str); - static void vol_ed(struct rt_solid_edit *s, int arg, int UNUSED(a), int UNUSED(b), void *UNUSED(data)) {