Remove a Lot of Dead Code.

This is just removal of dead code from the old profile, probably there's
still a bit more to remove, but this is a very good cleanup already.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-03-07 13:31:47 -03:00 committed by Dirk Hohndel
parent 8f43ad8100
commit 00c97e710f
7 changed files with 1 additions and 326 deletions

View file

@ -27,25 +27,12 @@ struct plot_info {
struct plot_data *entry;
};
/*
* handy datastructure to keep all of our scaling data in one place
*/
struct graphics_context {
int printer;
double maxx, maxy;
double leftx, rightx;
double topy, bottomy;
unsigned int maxtime;
struct plot_info pi;
};
typedef enum {
SC_SCREEN,
SC_PRINT
} scale_mode_t;
extern struct divecomputer *select_dc(struct divecomputer *main);
extern void get_plot_details(struct graphics_context *gc, int time, struct membuffer *mb);
struct options {
enum {