summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
01fc702)
A number of items were defined in global scope. This change
puts them into file scope.
static void cleanup (void);
static struct temp_dir *temp_dir;
static void cleanup (void);
static struct temp_dir *temp_dir;
+static struct hmapx map;
static GSourceFuncs init_funcs =
{ init_prepare, init_check, init_dispatch, NULL, NULL, NULL };
static GSourceFuncs init_funcs =
{ init_prepare, init_check, init_dispatch, NULL, NULL, NULL };
-GtkWidget *wsplash = 0;
-gint64 start_time = 0;
+static GtkWidget *wsplash = 0;
+static gint64 start_time = 0;
#define CT(ID, TARGET, FLAGS, INFO) static gchar ID[] = TARGET;
CBTARGETS
#undef CT
#define CT(ID, TARGET, FLAGS, INFO) static gchar ID[] = TARGET;
CBTARGETS
#undef CT
-gchar ctnlast[] = "application/vnd.oasis.opendocument.text";
+static gchar ctnlast[] = "application/vnd.oasis.opendocument.text";
static const GtkTargetEntry targets[] = {
#define CT(ID, TARGET, FLAGS, INFO) { ID, FLAGS, INFO },
static const GtkTargetEntry targets[] = {
#define CT(ID, TARGET, FLAGS, INFO) { ID, FLAGS, INFO },
#define N_EXTENSIONS (n_FT - 1)
#define N_EXTENSIONS (n_FT - 1)
-struct file_types ft[n_FT] = {
+static const struct file_types ft[n_FT] = {
{N_("Infer file type from extension"), NULL},
{N_("SPSS Viewer (*.spv)"), ".spv"},
{N_("PDF (*.pdf)"), ".pdf"},
{N_("Infer file type from extension"), NULL},
{N_("SPSS Viewer (*.spv)"), ".spv"},
{N_("PDF (*.pdf)"), ".pdf"},