projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d06d13
)
C++ compatibility patch from Andrey Kotrekhov <kota@at.com.ua>
author
aland
<aland>
Mon, 29 Jul 2002 20:12:44 +0000
(20:12 +0000)
committer
aland
<aland>
Mon, 29 Jul 2002 20:12:44 +0000
(20:12 +0000)
C++ has restriction that the struct name (class name) in the struct
declaration reserved for constructor.
src/include/radiusd.h
patch
|
blob
|
history
diff --git
a/src/include/radiusd.h
b/src/include/radiusd.h
index
ae80d63
..
0cc105e
100644
(file)
--- a/
src/include/radiusd.h
+++ b/
src/include/radiusd.h
@@
-95,7
+95,7
@@
typedef struct nas {
struct nas *next;
} NAS;
-typedef struct realm {
+typedef struct
_
realm {
char realm[64];
char server[64];
uint32_t ipaddr;
@@
-110,7
+110,7
@@
typedef struct realm {
time_t wakeup;
int acct_active;
time_t acct_wakeup;
- struct
realm
*next;
+ struct
_realm
*next;
} REALM;
typedef struct pair_list {