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