Fix forward reference that causes CentOS build to fail.
authorMargaret Wasserman <margaret@moonshot-proxy>
Wed, 10 Jul 2013 16:37:14 +0000 (12:37 -0400)
committerMargaret Wasserman <margaret@moonshot-proxy>
Wed, 10 Jul 2013 16:37:14 +0000 (12:37 -0400)
include/tr_config.h
include/tr_rp.h

index 4ee5232..2418380 100644 (file)
@@ -77,4 +77,6 @@ void tr_print_config(FILE *stream, TR_CFG *cfg);
 
 TR_IDP_REALM *tr_cfg_find_idp (TR_CFG *tr_cfg, TR_NAME *idp_id, TR_CFG_RC *rc);
 TR_RP_CLIENT *tr_cfg_find_rp (TR_CFG *tr_cfg, TR_NAME *rp_gss, TR_CFG_RC *rc);
+TR_RP_CLIENT *tr_rp_client_lookup(TR_INSTANCE *tr, TR_NAME *gss_name);
+
 #endif
index d022cca..81a9c14 100644 (file)
@@ -39,8 +39,6 @@
 
 #define TR_MAX_GSS_NAMES 5
 
-typedef struct tr_instance TR_INSTANCE;
-
 typedef struct tr_rp_client {
   struct tr_rp_client *next;
   struct tr_rp_client *comm_next;
@@ -55,6 +53,4 @@ typedef struct tr_rp_realm {
   TR_NAME *realm_name;
 } TR_RP_REALM;
 
-TR_RP_CLIENT *tr_rp_client_lookup(TR_INSTANCE *tr, TR_NAME *gss_name);
-
 #endif