Skip to content

Commit

Permalink
Scrub out a few more stale/unnecessary declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
starseeker committed Dec 7, 2024
1 parent aa4e33d commit e627b01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
2 changes: 2 additions & 0 deletions src/mged/edsol.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ static void arb5_mv_face(struct mged_state *, int, int, int), arb4_mv_face(struc
static void arb6_rot_face(struct mged_state *, int, int, int), arb5_rot_face(struct mged_state *, int, int, int), arb4_rot_face(struct mged_state *, int, int, int), arb_control(struct mged_state *, int, int, int);
static void init_sedit_vars(void), init_oedit_vars(void), init_oedit_guts(struct mged_state *);

int nurb_closest2d(int *surface, int *uval, int *vval, const struct rt_nurb_internal *spl, const point_t ref_pt , const mat_t mat);

point_t e_axes_pos;
point_t curr_e_axes_pos;
short int fixv; /* used in ECMD_ARB_ROTATE_FACE, f_eqn(): fixed vertex */
Expand Down
24 changes: 0 additions & 24 deletions src/mged/mged.h
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ int get_editor_string(struct mged_state *s, struct bu_vls *editstring);

/* titles.c */
void create_text_overlay(struct mged_state *s, struct bu_vls *vp);
void screen_vls(int xbase, int ybase, struct bu_vls *vp);
void dotitles(struct mged_state *s, struct bu_vls *overlay_vls);

/* rect.c */
Expand All @@ -435,10 +434,6 @@ void rect_view2image(void);
void rect_image2view(void);
void rb_set_dirty_flag(const struct bu_structparse *, const char *, void *, const char *, void *);


/* track.c */
int wrobj(struct mged_state *s, char name[], int flags);

/* edsol.c */
extern int inpara; /* parameter input from keyboard flag */
void vls_solid(struct mged_state *s, struct bu_vls *vp, struct rt_db_internal *ip, const mat_t mat);
Expand All @@ -458,29 +453,13 @@ void oedit_abs_scale(struct mged_state *s);
void oedit_accept(struct mged_state *s);
void oedit_reject(void);
void objedit_mouse(struct mged_state *s, const vect_t mousevec);
extern int nurb_closest2d(int *surface, int *uval, int *vval, const struct rt_nurb_internal *spl, const point_t ref_pt, const mat_t mat);
void label_edited_solid(int *num_lines, point_t *lines, struct rt_point_labels pl[], int max_pl, const mat_t xform, struct rt_db_internal *ip);
void init_oedit(struct mged_state *s);
void init_sedit(struct mged_state *s);

/* share.c */
void usurp_all_resources(struct mged_dm *dlp1, struct mged_dm *dlp2);

/* inside.c */
int torin(struct rt_db_internal *ip, fastf_t thick[6]);
int tgcin(struct rt_db_internal *ip, fastf_t thick[6]);
int rhcin(struct rt_db_internal *ip, fastf_t thick[4]);
int rpcin(struct rt_db_internal *ip, fastf_t thick[4]);
int partin(struct rt_db_internal *ip, fastf_t *thick);
int nmgin(struct rt_db_internal *ip, fastf_t thick);

/* cgtype is # of points, 4..8 */
int arbin(struct rt_db_internal *ip, fastf_t thick[6], int face, int cgtype, plane_t planes[6]);
int ehyin(struct rt_db_internal *ip, fastf_t thick[2]);
int ellgin(struct rt_db_internal *ip, fastf_t thick[6]);
int epain(struct rt_db_internal *ip, fastf_t thick[2]);
int etoin(struct rt_db_internal *ip, fastf_t thick[1]);

/* set.c */
extern void fbserv_set_port(const struct bu_structparse *, const char *, void *, const char *, void *);
extern void set_scroll_private(const struct bu_structparse *, const char *, void *, const char *, void *);
Expand Down Expand Up @@ -508,9 +487,6 @@ void pipe_move_pnt(struct mged_state *s, struct rt_pipe_internal *, struct wdb_p
extern void mged_vls_struct_parse(struct mged_state *s, struct bu_vls *vls, const char *title, struct bu_structparse *how_to_parse, const char *structp, int argc, const char *argv[]); /* defined in vparse.c */
extern void mged_vls_struct_parse_old(struct mged_state *s, struct bu_vls *vls, const char *title, struct bu_structparse *how_to_parse, char *structp, int argc, const char *argv[]);

/* rtif.c */
int build_tops(char **start, char **end);

/* mater.c */
void mged_color_soltab(struct mged_state *s);

Expand Down
1 change: 1 addition & 0 deletions src/mged/track.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ void bottom(fastf_t *vec1, fastf_t *vec2, fastf_t *t);
void top(fastf_t *vec1, fastf_t *vec2, fastf_t *t);
void crregion(struct mged_state *s, char *region, char *op, const int *members, int number, char *solidname, int maxlen, int los_default, int mat_default);
static void track_itoa(struct mged_state *s, int n, char *cs, int w);
int wrobj(struct mged_state *s, char name[], int flags);

/*
* adds track given "wheel" info
Expand Down

0 comments on commit e627b01

Please sign in to comment.