summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
Diffstat (limited to 'discover')
-rw-r--r--discover/device-handler.c3
-rw-r--r--discover/discover-server.c3
-rw-r--r--discover/kboot-parser.c4
3 files changed, 7 insertions, 3 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c
index 8d3e877..7e5819c 100644
--- a/discover/device-handler.c
+++ b/discover/device-handler.c
@@ -53,7 +53,8 @@ static struct device device = {
.icon_file = "meep.png",
};
-int device_handler_get_current_devices(struct device_handler *handler,
+int device_handler_get_current_devices(
+ struct device_handler *handler __attribute__((unused)),
struct device **devices)
{
diff --git a/discover/discover-server.c b/discover/discover-server.c
index 8d72838..b2025cc 100644
--- a/discover/discover-server.c
+++ b/discover/discover-server.c
@@ -76,7 +76,8 @@ static void print_clients(struct discover_server *server)
client->fd);
}
-static int client_write_message(struct discover_server *server,
+static int client_write_message(
+ struct discover_server *server __attribute__((unused)),
struct client *client, struct pb_protocol_message *message)
{
int rc;
diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c
index f8cd61d..7124561 100644
--- a/discover/kboot-parser.c
+++ b/discover/kboot-parser.c
@@ -117,7 +117,9 @@ static int check_for_global_option(struct kboot_context *ctx,
return 0;
}
-static char *get_global_option(struct kboot_context *ctx, const char *name)
+static char *get_global_option(
+ struct kboot_context *ctx __attribute__((unused)),
+ const char *name)
{
int i;
OpenPOWER on IntegriCloud