From 8bb05ac73a5b448b339ce0bc8d396c82c459b47f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 14 Apr 2024 21:33:32 +0200 Subject: Merging upstream version 2.40. Signed-off-by: Daniel Baumann --- libfdisk/samples/Makemodule.am | 3 +-- libfdisk/samples/mkpart-fullspec.c | 2 +- libfdisk/samples/mkpart.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'libfdisk/samples') diff --git a/libfdisk/samples/Makemodule.am b/libfdisk/samples/Makemodule.am index b67b121..0c34436 100644 --- a/libfdisk/samples/Makemodule.am +++ b/libfdisk/samples/Makemodule.am @@ -3,8 +3,7 @@ check_PROGRAMS += \ sample-fdisk-mkpart \ sample-fdisk-mkpart-fullspec -sample_fdisk_cflags = $(AM_CFLAGS) $(NO_UNUSED_WARN_CFLAGS) \ - -I$(ul_libfdisk_incdir) +sample_fdisk_cflags = $(AM_CFLAGS) -I$(ul_libfdisk_incdir) sample_fdisk_ldadd = $(LDADD) libfdisk.la sample_fdisk_mkpart_SOURCES = libfdisk/samples/mkpart.c diff --git a/libfdisk/samples/mkpart-fullspec.c b/libfdisk/samples/mkpart-fullspec.c index 821a688..0dca3f1 100644 --- a/libfdisk/samples/mkpart-fullspec.c +++ b/libfdisk/samples/mkpart-fullspec.c @@ -27,7 +27,7 @@ static int ask_callback(struct fdisk_context *cxt __attribute__((__unused__)), struct fdisk_ask *ask, - void *data) + void *data __attribute__((unused))) { switch(fdisk_ask_get_type(ask)) { case FDISK_ASKTYPE_INFO: diff --git a/libfdisk/samples/mkpart.c b/libfdisk/samples/mkpart.c index 1e5fd99..766e751 100644 --- a/libfdisk/samples/mkpart.c +++ b/libfdisk/samples/mkpart.c @@ -39,7 +39,7 @@ static int ask_callback(struct fdisk_context *cxt __attribute__((__unused__)), struct fdisk_ask *ask, - void *data) + void *data __attribute__((unused))) { switch(fdisk_ask_get_type(ask)) { case FDISK_ASKTYPE_INFO: -- cgit v1.2.3