Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update include guards to be (more) unique #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions librxvm/bmh.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BMH_H
#define BMH_H
#ifndef RXVM_BMH_H
#define RXVM_BMH_H

#ifdef _WIN32
#define fseek _fseeki64
Expand Down
4 changes: 2 additions & 2 deletions librxvm/lex.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef LEX_H
#define LEX_H
#ifndef RXVM_LEX_H
#define RXVM_LEX_H

#define PRINTABLE_LOW ' ' /* ASCII 0x20 */
#define PRINTABLE_HIGH '~' /* ASCII 0x7E */
Expand Down
4 changes: 2 additions & 2 deletions librxvm/lfix.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef LFIX_H
#define LFIX_H
#ifndef RXVM_LFIX_H
#define RXVM_LFIX_H

void lfix_zero (void);
void lfix_start (char *orig, char *lp1);
Expand Down
4 changes: 2 additions & 2 deletions librxvm/lfix_to_str.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef LFIX_TO_STR_H
#define LFIX_TO_STR_H
#ifndef RXVM_LFIX_TO_STR_H
#define RXVM_LFIX_TO_STR_H

char *lfix_to_str (char *orig, rxvm_t *compiled);

Expand Down
4 changes: 2 additions & 2 deletions librxvm/setop.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef SETOP_H
#define SETOP_H
#ifndef RXVM_SETOP_H
#define RXVM_SETOP_H

void set_op_class (inst_t *inst, char *ccs);
void set_op_nclass (inst_t *inst, char *ccs);
Expand Down
4 changes: 2 additions & 2 deletions librxvm/stack.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STACK_H
#define STACK_H
#ifndef RXVM_STACK_H
#define RXVM_STACK_H

ir_stack_t *create_stack (void);
stackitem_t *stack_add_head (ir_stack_t *stack, void *data);
Expand Down
4 changes: 2 additions & 2 deletions librxvm/stage1.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STAGE1_H
#define STAGE1_H
#ifndef RXVM_STAGE1_H
#define RXVM_STAGE1_H

struct context {
strb_t strb;
Expand Down
4 changes: 2 additions & 2 deletions librxvm/stage2.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STAGE2_H
#define STAGE2_H
#ifndef RXVM_STAGE2_H
#define RXVM_STAGE2_H

int stage2 (ir_stack_t *ir, rxvm_t *ret);

Expand Down
4 changes: 2 additions & 2 deletions librxvm/string_builder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef STRING_BUILDER_H
#define STRING_BUILDER_H
#ifndef RXVM_STRING_BUILDER_H
#define RXVM_STRING_BUILDER_H

typedef struct strb strb_t;

Expand Down
4 changes: 2 additions & 2 deletions librxvm/vm.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef VM_H
#define VM_H
#ifndef RXVM_VM_H
#define RXVM_VM_H

extern const int udiff;

Expand Down
4 changes: 2 additions & 2 deletions librxvm/vmcode.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef VMCODE_H
#define VMCODE_H
#ifndef RXVM_VMCODE_H
#define RXVM_VMCODE_H

stackitem_t *stack_add_inst_head (ir_stack_t *stack, inst_t *inst);
void attach_dangling_alt (context_t *cp);
Expand Down