gcc-compat.h: rename __unused to __a_unused
[paraslash.git] / playlist_selector.c
index 86cae7b089b5cf8c675f75a59038ce59db84f0b6..e5329bac5074f40a19277324adae4e94ed44e288 100644 (file)
@@ -142,7 +142,7 @@ out:
        return ret;
 }
 
-static int com_lpl(int fd, __unused int argc, __unused char *argv[])
+static int com_lpl(int fd, __a_unused int argc, __a_unused char *argv[])
 {
        unsigned loaded = 0;
        size_t bufsize = 4096; /* guess that's enough */
@@ -173,7 +173,7 @@ out:
        return ret;
 }
 
-static int com_ppl(int fd, __unused int argc, __unused char *argv[])
+static int com_ppl(int fd, __a_unused int argc, __a_unused char *argv[])
 {
        unsigned i;
 
@@ -231,7 +231,7 @@ static void pls_shutdown(void)
        playlist_size = 0;
 }
 
-static void pls_post_select(__unused fd_set *rfds, __unused fd_set *wfds)
+static void pls_post_select(__a_unused fd_set *rfds, __a_unused fd_set *wfds)
 {
        struct private_pls_data *ppd = self->private_data;
        struct pls_client_data *pcd = ppd->client_data;