chiark / gitweb /
Placate over-picky compiler
authorRichard Kettlewell <rjk@greenend.org.uk>
Sat, 28 Jun 2008 09:43:36 +0000 (10:43 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sat, 28 Jun 2008 09:43:36 +0000 (10:43 +0100)
disobedience/choose.h
disobedience/disobedience.h
disobedience/menu.c
disobedience/properties.c
disobedience/queue.c
lib/eclient.h

index 1a9bf10e5d41658a7ed1e0ab03d874232fd5e682..c101e6bcf303aaeacddda06ff53bca691eee7897 100644 (file)
@@ -62,7 +62,7 @@ gboolean choose_button_event(GtkWidget *widget,
                              GdkEventButton *event,
                              gpointer user_data);
 void choose_play_completed(void attribute((unused)) *v,
                              GdkEventButton *event,
                              gpointer user_data);
 void choose_play_completed(void attribute((unused)) *v,
-                           const char *error);
+                           const char *err);
 char *choose_get_track(GtkTreeIter *iter);
 char *choose_get_sort(GtkTreeIter *iter);
 char *choose_get_display(GtkTreeIter *iter);
 char *choose_get_track(GtkTreeIter *iter);
 char *choose_get_sort(GtkTreeIter *iter);
 char *choose_get_display(GtkTreeIter *iter);
index f709a27fb31e4cbfb269fb54f1ea1df6525cf0fb..1f631088e4503a8969bf90c8ccb659255b62adf5 100644 (file)
@@ -232,7 +232,7 @@ void choose_update(void);
 /* Called when we think the choose tree might need updating */
 
 void play_completed(void *v,
 /* Called when we think the choose tree might need updating */
 
 void play_completed(void *v,
-                    const char *error);
+                    const char *err);
 
 /* Login details */
 
 
 /* Login details */
 
index 868c9dce8f2358f2a668d359bc38a8f747d41efc..142857c742295197791a7420ad48f6edbf0fb953 100644 (file)
@@ -31,7 +31,7 @@ static GtkWidget *properties_widget;
 GtkItemFactory *mainmenufactory;
 
 static void about_popup_got_version(void *v,
 GtkItemFactory *mainmenufactory;
 
 static void about_popup_got_version(void *v,
-                                    const char *error,
+                                    const char *err,
                                     const char *value);
 
 /** @brief Called when the quit option is activated
                                     const char *value);
 
 /** @brief Called when the quit option is activated
index 8b461090999fd26934bd456917f33933a269593f..16ee97cbaaf59d352ac599757666f273bbc50dcd 100644 (file)
@@ -32,7 +32,7 @@ static void completed_namepart(struct prefdata *f);
 static const char *get_edited_namepart(struct prefdata *f);
 static void set_edited_namepart(struct prefdata *f, const char *value);
 static void set_namepart(struct prefdata *f, const char *value);
 static const char *get_edited_namepart(struct prefdata *f);
 static void set_edited_namepart(struct prefdata *f, const char *value);
 static void set_namepart(struct prefdata *f, const char *value);
-static void set_namepart_completed(void *v, const char *error);
+static void set_namepart_completed(void *v, const char *err);
 
 static void kickoff_string(struct prefdata *f);
 static void completed_string(struct prefdata *f);
 
 static void kickoff_string(struct prefdata *f);
 static void completed_string(struct prefdata *f);
@@ -46,7 +46,7 @@ static const char *get_edited_boolean(struct prefdata *f);
 static void set_edited_boolean(struct prefdata *f, const char *value);
 static void set_boolean(struct prefdata *f, const char *value);
 
 static void set_edited_boolean(struct prefdata *f, const char *value);
 static void set_boolean(struct prefdata *f, const char *value);
 
-static void prefdata_completed(void *v, const char *error, const char *value);
+static void prefdata_completed(void *v, const char *err, const char *value);
 static void prefdata_onerror(struct callbackdata *cbd,
                              int code,
                              const char *msg);
 static void prefdata_onerror(struct callbackdata *cbd,
                              int code,
                              const char *msg);
index 7dbe563cb4cb35153e0fc25aea5e7173f8dcce0f..d69b34dd3e444218af2ce0936c8b9b6b9886fe26 100644 (file)
@@ -32,10 +32,10 @@ struct queue_entry *playing_track;
 time_t last_playing;
 
 static void queue_completed(void *v,
 time_t last_playing;
 
 static void queue_completed(void *v,
-                            const char *error,
+                            const char *err,
                             struct queue_entry *q);
 static void playing_completed(void *v,
                             struct queue_entry *q);
 static void playing_completed(void *v,
-                              const char *error,
+                              const char *err,
                               struct queue_entry *q);
 
 /** @brief Called when either the actual queue or the playing track change */
                               struct queue_entry *q);
 
 /** @brief Called when either the actual queue or the playing track change */
index be5730cb5eb19367bf71f9ce361de320f0c1dacb..efb6b2d87936d89303557dcc7232bcc89cf29878 100644 (file)
@@ -209,14 +209,14 @@ struct sink;
 
 /** @brief Trivial completion callback
  * @param v User data
 
 /** @brief Trivial completion callback
  * @param v User data
- * @param error Error string or NULL on succes
+ * @param err Error string or NULL on succes
  */
 typedef void disorder_eclient_no_response(void *v,
  */
 typedef void disorder_eclient_no_response(void *v,
-                                          const char *error);
+                                          const char *err);
 
 /** @brief String result completion callback
  * @param v User data
 
 /** @brief String result completion callback
  * @param v User data
- * @param error Error string or NULL on succes
+ * @param err Error string or NULL on succes
  * @param value Result or NULL
  *
  * @p error will be NULL on success.  In this case @p value will be the result
  * @param value Result or NULL
  *
  * @p error will be NULL on success.  In this case @p value will be the result
@@ -226,12 +226,12 @@ typedef void disorder_eclient_no_response(void *v,
  * @p error will be non-NULL on failure.  In this case @p value is always NULL.
  */
 typedef void disorder_eclient_string_response(void *v,
  * @p error will be non-NULL on failure.  In this case @p value is always NULL.
  */
 typedef void disorder_eclient_string_response(void *v,
-                                              const char *error,
+                                              const char *err,
                                               const char *value);
 
 /** @brief String result completion callback
  * @param v User data
                                               const char *value);
 
 /** @brief String result completion callback
  * @param v User data
- * @param error Error string or NULL on succes
+ * @param err Error string or NULL on succes
  * @param value Result or 0
  *
  * @p error will be NULL on success.  In this case @p value will be the result.
  * @param value Result or 0
  *
  * @p error will be NULL on success.  In this case @p value will be the result.
@@ -239,11 +239,11 @@ typedef void disorder_eclient_string_response(void *v,
  * @p error will be non-NULL on failure.  In this case @p value is always 0.
  */
 typedef void disorder_eclient_integer_response(void *v,
  * @p error will be non-NULL on failure.  In this case @p value is always 0.
  */
 typedef void disorder_eclient_integer_response(void *v,
-                                               const char *error,
+                                               const char *err,
                                                long value);
 /** @brief Volume completion callback
  * @param v User data
                                                long value);
 /** @brief Volume completion callback
  * @param v User data
- * @param error Error string or NULL on success
+ * @param err Error string or NULL on success
  * @param l Left channel volume
  * @param r Right channel volume
  *
  * @param l Left channel volume
  * @param r Right channel volume
  *
@@ -254,12 +254,12 @@ typedef void disorder_eclient_integer_response(void *v,
  * 0.
  */
 typedef void disorder_eclient_volume_response(void *v,
  * 0.
  */
 typedef void disorder_eclient_volume_response(void *v,
-                                              const char *error,
+                                              const char *err,
                                               int l, int r);
 
 /** @brief Queue request completion callback
  * @param v User data
                                               int l, int r);
 
 /** @brief Queue request completion callback
  * @param v User data
- * @param error Error string or NULL on success
+ * @param err Error string or NULL on success
  * @param q Head of queue data list
  *
  * @p error will be NULL on success.  In this case @p q will be the (head of
  * @param q Head of queue data list
  *
  * @p error will be NULL on success.  In this case @p q will be the (head of
@@ -270,12 +270,12 @@ typedef void disorder_eclient_volume_response(void *v,
  * be ignored in the error case.
  */
 typedef void disorder_eclient_queue_response(void *v,
  * be ignored in the error case.
  */
 typedef void disorder_eclient_queue_response(void *v,
-                                             const char *error,
+                                             const char *err,
                                              struct queue_entry *q);
 
 /** @brief List request completion callback
  * @param v User data
                                              struct queue_entry *q);
 
 /** @brief List request completion callback
  * @param v User data
- * @param error Error string or NULL on success
+ * @param err Error string or NULL on success
  * @param nvec Number of elements in response list
  * @param vec Pointer to response list
  *
  * @param nvec Number of elements in response list
  * @param vec Pointer to response list
  *
@@ -286,7 +286,7 @@ typedef void disorder_eclient_queue_response(void *v,
  * be 0 and NULL.
  */
 typedef void disorder_eclient_list_response(void *v,
  * be 0 and NULL.
  */
 typedef void disorder_eclient_list_response(void *v,
-                                            const char *error,
+                                            const char *err,
                                             int nvec, char **vec);
 
 disorder_eclient *disorder_eclient_new(const disorder_eclient_callbacks *cb,
                                             int nvec, char **vec);
 
 disorder_eclient *disorder_eclient_new(const disorder_eclient_callbacks *cb,