From: Sam Hartman Date: Thu, 24 Jul 2014 15:59:41 +0000 (-0400) Subject: Centos6 compiler is too picky about typedefs; pacify it. X-Git-Tag: 1.3.1~10 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=commitdiff_plain;h=d3d290a0e6c54222260824886457652f2b52bf78 Centos6 compiler is too picky about typedefs; pacify it. --- diff --git a/include/tid_internal.h b/include/tid_internal.h index 4e206da..0593425 100644 --- a/include/tid_internal.h +++ b/include/tid_internal.h @@ -70,13 +70,13 @@ #include #include -typedef struct tid_srvr_blk { +struct tid_srvr_blk { struct in_addr aaa_server_addr; TR_NAME *key_name; DH *aaa_server_dh; /* AAA server's public dh information */ -} TID_SRVR_BLK; +}; -typedef struct tid_resp { +struct tid_resp { TID_RC result; TR_NAME *err_msg; TR_NAME *rp_realm; @@ -87,7 +87,7 @@ typedef struct tid_resp { TID_SRVR_BLK *servers; /* array of servers */ size_t num_servers; /* TBD -- Trust Path Used */ -} TID_RESP; +}; struct tid_req { struct tid_req *next_req; int resp_sent;