diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-08 09:33:34 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-08 09:33:34 +0200 |
commit | 7ff29a665d490587204cfe97b80874907df6ffef (patch) | |
tree | 79153117e3a8f21a6c4ce745390ed3a4f119a003 /src | |
parent | 0b263bfd1eefcb7cf6156825c842b679cdd5342c (diff) |
make global variables static
Diffstat (limited to 'src')
-rw-r--r-- | src/gipfel.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx index bd605a8..c7e07d2 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -47,19 +47,19 @@ #define DATAFILE "gipfel.dat" #define DEFAULT_DATADIR GIPFEL_DATADIR "/" PACKAGE_NAME -char *run_dir = NULL; -char *img_file = NULL; -char *data_file = NULL; - -GipfelWidget *gipf = NULL; -Fl_Scroll *scroll; -Fl_Window *control_win, *view_win; -Fl_Dial *s_center = NULL; -Fl_Slider *s_nick, *s_focal_length, *s_tilt, *s_height_dist, *s_track_width; -Fl_Value_Input *i_view_lat, *i_view_long, *i_view_height; -Fl_Value_Input *i_distortion_k0, *i_distortion_k1, *i_distortion_x0; -Fl_Box *b_viewpoint; -Fl_Menu_Bar *mb; +static char *run_dir = NULL; +static char *img_file = NULL; +static char *data_file = NULL; + +static GipfelWidget *gipf = NULL; +static Fl_Scroll *scroll; +static Fl_Window *control_win, *view_win; +static Fl_Dial *s_center = NULL; +static Fl_Slider *s_nick, *s_focal_length, *s_tilt, *s_height_dist, *s_track_width; +static Fl_Value_Input *i_view_lat, *i_view_long, *i_view_height; +static Fl_Value_Input *i_distortion_k0, *i_distortion_k1, *i_distortion_x0; +static Fl_Box *b_viewpoint; +static Fl_Menu_Bar *mb; #define STITCH_PREVIEW 1 #define STITCH_JPEG 2 |