From b03fee78f6041e0f126125a5d209a201a86deaba Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 4 Jul 2009 18:19:46 +0200 Subject: [PATCH] Fix some gcc warnings. Moving the declaration of send_afs_status() which depends on struct rc4_context out of afs.h fixes a couple of these: afs.h:120: warning: 'struct rc4_context' declared inside parameter list --- afs.h | 2 -- command.c | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/afs.h b/afs.h index bfafd949..9e04a7ed 100644 --- a/afs.h +++ b/afs.h @@ -117,8 +117,6 @@ struct ls_data { HASH_TYPE *hash; }; -int send_afs_status(struct rc4_context *rc4c, int parser_friendly); - /** Data about the current audio file, passed from afs to server. */ struct audio_file_data { /** The open file descriptor to the current audio file. */ diff --git a/command.c b/command.c index fa844b5e..becd561b 100644 --- a/command.c +++ b/command.c @@ -42,6 +42,8 @@ extern int mmd_mutex; extern struct misc_meta_data *mmd; extern struct sender senders[]; +int send_afs_status(struct rc4_context *rc4c, int parser_friendly); + static void dummy(__a_unused int s) { -- 2.39.5