Make win variable internal to x.c
There was only a single reference to the `win` variable in st.c, so exporting that to x.c allows us to rid ourselves of another extern. Signed-off-by: Devin J. Pohly <djpohly@gmail.com>
This commit is contained in:
parent
416dd25727
commit
323d38da20
4 changed files with 13 additions and 6 deletions
1
st.h
1
st.h
|
@ -201,7 +201,6 @@ void *xrealloc(void *, size_t);
|
|||
char *xstrdup(char *);
|
||||
|
||||
/* Globals */
|
||||
extern TermWindow win;
|
||||
extern Term term;
|
||||
extern Selection sel;
|
||||
extern int cmdfd;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue