From: Andre Noll Date: Sat, 4 Jul 2009 16:19:46 +0000 (+0200) Subject: Fix some gcc warnings. X-Git-Tag: v0.4.0~74 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=b03fee78f6041e0f126125a5d209a201a86deaba 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 --- 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) {