mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-06-30 23:30:28 +00:00
adding re-include guards into lib/Support/reg*.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210794 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
070d532aaf
commit
f58ab6bddb
|
@ -37,6 +37,9 @@
|
||||||
* @(#)cclass.h 8.3 (Berkeley) 3/20/94
|
* @(#)cclass.h 8.3 (Berkeley) 3/20/94
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef LLVM_SUPPORT_REGCCLASS_H
|
||||||
|
#define LLVM_SUPPORT_REGCCLASS_H
|
||||||
|
|
||||||
/* character-class table */
|
/* character-class table */
|
||||||
static struct cclass {
|
static struct cclass {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
@ -68,3 +71,5 @@ static struct cclass {
|
||||||
""} ,
|
""} ,
|
||||||
{ NULL, 0, "" }
|
{ NULL, 0, "" }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
* @(#)cname.h 8.3 (Berkeley) 3/20/94
|
* @(#)cname.h 8.3 (Berkeley) 3/20/94
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef LLVM_SUPPORT_REGCNAME_H
|
||||||
|
#define LLVM_SUPPORT_REGCNAME_H
|
||||||
|
|
||||||
/* character-name table */
|
/* character-name table */
|
||||||
static struct cname {
|
static struct cname {
|
||||||
const char *name;
|
const char *name;
|
||||||
|
@ -137,3 +140,5 @@ static struct cname {
|
||||||
{ "DEL", '\177' },
|
{ "DEL", '\177' },
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
* @(#)regex2.h 8.4 (Berkeley) 3/20/94
|
* @(#)regex2.h 8.4 (Berkeley) 3/20/94
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef LLVM_SUPPORT_REGEX2_H
|
||||||
|
#define LLVM_SUPPORT_REGEX2_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* internals of regex_t
|
* internals of regex_t
|
||||||
*/
|
*/
|
||||||
|
@ -155,3 +158,5 @@ struct re_guts {
|
||||||
/* misc utilities */
|
/* misc utilities */
|
||||||
#define OUT (CHAR_MAX+1) /* a non-character value */
|
#define OUT (CHAR_MAX+1) /* a non-character value */
|
||||||
#define ISWORD(c) (isalnum(c&0xff) || (c) == '_')
|
#define ISWORD(c) (isalnum(c&0xff) || (c) == '_')
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
* @(#)utils.h 8.3 (Berkeley) 3/20/94
|
* @(#)utils.h 8.3 (Berkeley) 3/20/94
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef LLVM_SUPPORT_REGUTILS_H
|
||||||
|
#define LLVM_SUPPORT_REGUTILS_H
|
||||||
|
|
||||||
/* utility definitions */
|
/* utility definitions */
|
||||||
#define NC (CHAR_MAX - CHAR_MIN + 1)
|
#define NC (CHAR_MAX - CHAR_MIN + 1)
|
||||||
typedef unsigned char uch;
|
typedef unsigned char uch;
|
||||||
|
@ -51,3 +54,5 @@ typedef unsigned char uch;
|
||||||
#ifdef USEBCOPY
|
#ifdef USEBCOPY
|
||||||
#define memmove(d, s, c) bcopy(s, d, c)
|
#define memmove(d, s, c) bcopy(s, d, c)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user