From 1f8d19cb40036e2d74732baee750920557000cce Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Thu, 13 Sep 2018 11:09:16 +0000 Subject: [PATCH] Cleanup: Use (auth_stack_t) not (struct auth_stack_tag) --- src/auth.h | 2 -- src/cfgfile.h | 4 ++-- src/icecasttypes.h | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/auth.h b/src/auth.h index 120fb8aa..f6633233 100644 --- a/src/auth.h +++ b/src/auth.h @@ -131,8 +131,6 @@ struct auth_tag char *role; }; -typedef struct auth_stack_tag auth_stack_t; - /* prototypes for auths that do not need own header file */ int auth_get_anonymous_auth(auth_t *auth, config_options_t *options); int auth_get_static_auth(auth_t *auth, config_options_t *options); diff --git a/src/cfgfile.h b/src/cfgfile.h index 4888f359..f83ac78d 100644 --- a/src/cfgfile.h +++ b/src/cfgfile.h @@ -117,7 +117,7 @@ typedef struct _mount_proxy { struct event_registration_tag *event; char *cluster_password; - struct auth_stack_tag *authstack; + auth_stack_t *authstack; unsigned int max_listener_duration; char *stream_name; @@ -211,7 +211,7 @@ struct ice_config_tag { char *shoutcast_mount; char *shoutcast_user; - struct auth_stack_tag *authstack; + auth_stack_t *authstack; struct event_registration_tag *event; diff --git a/src/icecasttypes.h b/src/icecasttypes.h index e8c8da63..58032284 100644 --- a/src/icecasttypes.h +++ b/src/icecasttypes.h @@ -43,6 +43,7 @@ typedef struct acl_tag acl_t; /* ---[ auth.[ch] ]--- */ typedef struct auth_tag auth_t; +typedef struct auth_stack_tag auth_stack_t; /* ---[ cfgfile.[ch] ]--- */ -- GitLab