Skip to content

Commit b3e70be

Browse files
committed
Use #pragma once instead of include gurad
1 parent bf24264 commit b3e70be

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

Diff for: lisp.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef LISP_H
2-
#define LISP_H
1+
#pragma once
32

43
#include <stdbool.h>
54
#include <stdint.h>
@@ -475,5 +474,3 @@ StObject St__Eval_INSN(StObject module, StObject insn);
475474
StObject St_MacroExpand(StObject module, StObject expr);
476475
StObject St_SyntaxExpand(StObject module, StObject expr);
477476
StObject St_Compile(StObject expr, StObject module, StObject next);
478-
479-
#endif

Diff for: subr.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#ifndef SUBR_H
2-
#define SUBR_H
1+
#pragma once
32

43
#include "lisp.h"
54

@@ -47,5 +46,3 @@ static inline StObject St_Arg(StCallInfo *cinfo, int i)
4746
{
4847
return ST_VECTOR_DATA(cinfo->argstack)[cinfo->offset + ~i];
4948
}
50-
51-
#endif

0 commit comments

Comments
 (0)