Skip to content

Commit

Permalink
Remove leading underscore from preprocessor defines
Browse files Browse the repository at this point in the history
  • Loading branch information
gitlarryf authored and ghewgill committed Oct 18, 2018
1 parent b4d2ba5 commit daccef9
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions exec/cnex/bytecode.h
@@ -1,5 +1,5 @@
#ifndef _BYTECODE_H
#define _BYTECODE_H
#ifndef BYTECODE_H
#define BYTECODE_H
#include <stdint.h>

typedef struct tagTType {
Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/cell.h
@@ -1,5 +1,5 @@
#ifndef _CELL_H
#define _CELL_H
#ifndef CELL_H
#define CELL_H
#include <stdint.h>

#include "number.h"
Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/dictionary.h
@@ -1,5 +1,5 @@
#ifndef _DICTIONARY_H
#define _DICTIONARY_H
#ifndef DICTIONARY_H
#define DICTIONARY_H
#include <stdint.h>

typedef struct tagTDictionaryEntry {
Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/exec.h
@@ -1,5 +1,5 @@
#ifndef _EXEC_H
#define _EXEC_H
#ifndef EXEC_H
#define EXEC_H
#include <stdint.h>
#include <time.h>

Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/framestack.h
@@ -1,5 +1,5 @@
#ifndef _FRAMESTACK_H
#define _FRAMESTACK_H
#ifndef FRAMESTACK_H
#define FRAMESTACK_H
#include <stdint.h>

typedef struct tagTFrame {
Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/global.h
@@ -1,5 +1,5 @@
#ifndef _GLOBAL_H
#define _GLOBAL_H
#ifndef GLOBAL_H
#define GLOBAL_H
#include <stdint.h>

struct tagTExecutor;
Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/nstring.h
@@ -1,5 +1,5 @@
#ifndef _TSTRING_H
#define _TSTRING_H
#ifndef TSTRING_H
#define TSTRING_H
#include <stdint.h>
#include <stdio.h>

Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/number.h
@@ -1,5 +1,5 @@
#ifndef _NUMBER_H
#define _NUMBER_H
#ifndef NUMBER_H
#define NUMBER_H

#include <stdint.h>
#include <stdio.h>
Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/opcode.h
@@ -1,5 +1,5 @@
#ifndef _OPCODE_H
#define _OPCODE_H
#ifndef OPCODE_H
#define OPCODE_H

#define FOREACH_OPCODE(OPCODE) \
OPCODE(ENTER)\
Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/stack.h
@@ -1,5 +1,5 @@
#ifndef _STACK_H
#define _STACK_H
#ifndef STACK_H
#define STACK_H
#include <stddef.h>

typedef struct tagTStack {
Expand Down
4 changes: 2 additions & 2 deletions exec/cnex/util.h
@@ -1,5 +1,5 @@
#ifndef _UTIL_H
#define _UTIL_H
#ifndef UTIL_H
#define UTIL_H

#define estr(x) #x
#define ENUM(x) estr(x)
Expand Down

0 comments on commit daccef9

Please sign in to comment.