summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 424aff3)
raw | patch | inline | side by side (parent: 424aff3)
author | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 16 May 2006 16:25:28 +0000 (18:25 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Tue, 16 May 2006 16:25:28 +0000 (18:25 +0200) |
tig.c | patch | blob | history |
index ca2c6e5f91a93305c534ea98f3c67560bdfa20ff..c1e5ea4a379b986d2788fc049a4e7aeb4c344f57 100644 (file)
--- a/tig.c
+++ b/tig.c
static struct view_ops pager_ops;
static struct view_ops main_ops;
-char ref_head[SIZEOF_REF] = "HEAD";
-char ref_commit[SIZEOF_REF] = "HEAD";
+static char ref_head[SIZEOF_REF] = "HEAD";
+static char ref_commit[SIZEOF_REF] = "HEAD";
#define VIEW_STR(name, cmd, env, ref, objsize, ops) \
{ name, cmd, #env, ref, objsize, ops }
int request;
};
-struct keymap keymap[] = {
+static struct keymap keymap[] = {
/**
* View switching
* ~~~~~~~~~~~~~~
*/
static struct ref *refs;
-size_t refs_size;
+static size_t refs_size;
static struct ref **
get_refs(char *id)