version 1.1.1.3, 2021/03/17 00:39:23
|
version 1.1.1.3.2.1, 2023/09/27 11:08:01
|
Line 69
|
Line 69
|
#define assert(e) ((e) ? (void)0 : DoAssert(__FILE__, __LINE__, #e)) |
#define assert(e) ((e) ? (void)0 : DoAssert(__FILE__, __LINE__, #e)) |
|
|
#ifdef __clang__ |
#ifdef __clang__ |
| #ifndef NO_THREAD_SAFETY_ANALYSIS |
#ifndef THREAD_ANNOTATION_ATTRIBUTE__ |
#ifndef THREAD_ANNOTATION_ATTRIBUTE__ |
#define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) |
#define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x)) |
#else |
|
#define THREAD_ANNOTATION_ATTRIBUTE__(x) |
|
#endif |
#endif |
|
|
#ifndef NO_THREAD_SAFETY_ANALYSIS |
|
#define NO_THREAD_SAFETY_ANALYSIS \ |
#define NO_THREAD_SAFETY_ANALYSIS \ |
THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis) |
THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis) |
|
#endif |
#else |
#else |
#define NO_THREAD_SAFETY_ANALYSIS |
#define NO_THREAD_SAFETY_ANALYSIS |
#endif |
|
|
|
#endif /* __clang__ */ |
#endif /* __clang__ */ |
|
|
/* Giant Mutex handling */ |
/* Giant Mutex handling */ |
Line 208
|
Line 203
|
extern int gNumBundles; /* Total number of bundles */ |
extern int gNumBundles; /* Total number of bundles */ |
extern struct console gConsole; |
extern struct console gConsole; |
extern struct web gWeb; |
extern struct web gWeb; |
|
#ifdef USE_RADIUS |
extern struct radsrv gRadsrv; |
extern struct radsrv gRadsrv; |
|
#endif |
extern int gBackground; |
extern int gBackground; |
extern int gShutdownInProgress; |
extern int gShutdownInProgress; |
extern int gOverload; |
extern int gOverload; |