Added header guards; fixed linter errors
parent
9fca78f0dd
commit
68ce8a3914
|
@ -3,8 +3,8 @@
|
||||||
* by 20h
|
* by 20h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ARG_H__
|
#ifndef ARG_H
|
||||||
#define ARG_H__
|
#define ARG_H
|
||||||
|
|
||||||
extern char *argv0;
|
extern char *argv0;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,11 @@
|
||||||
/* See LICENSE for license details. */
|
/* See LICENSE for license details. */
|
||||||
|
|
||||||
|
#ifndef ST_H
|
||||||
|
#define ST_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <stddef.h>
|
||||||
|
|
||||||
/* macros */
|
/* macros */
|
||||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||||
|
@ -123,3 +127,5 @@ extern char *termname;
|
||||||
extern unsigned int tabspaces;
|
extern unsigned int tabspaces;
|
||||||
extern unsigned int defaultfg;
|
extern unsigned int defaultfg;
|
||||||
extern unsigned int defaultbg;
|
extern unsigned int defaultbg;
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
/* See LICENSE for license details. */
|
/* See LICENSE for license details. */
|
||||||
|
|
||||||
|
#ifndef WIN_H
|
||||||
|
#define WIN_H
|
||||||
|
|
||||||
|
#include "st/st.h"
|
||||||
|
|
||||||
enum win_mode {
|
enum win_mode {
|
||||||
MODE_VISIBLE = 1 << 0,
|
MODE_VISIBLE = 1 << 0,
|
||||||
MODE_FOCUSED = 1 << 1,
|
MODE_FOCUSED = 1 << 1,
|
||||||
|
@ -38,3 +43,5 @@ void xsetpointermotion(int);
|
||||||
void xsetsel(char *);
|
void xsetsel(char *);
|
||||||
int xstartdraw(void);
|
int xstartdraw(void);
|
||||||
void xximspot(int, int);
|
void xximspot(int, int);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Reference in New Issue