aboutsummaryrefslogtreecommitdiffstats
path: root/com32/hdt
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-04-04 12:18:47 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-04-17 11:23:42 +0100
commit88cebcdc03a4aefa978b20b5f60e7ea10f07b797 (patch)
treef4c4aadbfe45dcf27b4f58ad7b50ff4965378f4f /com32/hdt
parent461106274b69693d46734d448b7e5702fba4f229 (diff)
downloadsyslinux-88cebcdc03a4aefa978b20b5f60e7ea10f07b797.tar.gz
syslinux-88cebcdc03a4aefa978b20b5f60e7ea10f07b797.tar.xz
syslinux-88cebcdc03a4aefa978b20b5f60e7ea10f07b797.zip
Mark unused function parameters as __unused
Move the __unused tag from com32/hdt/ to com32/include/klibc/ so that it can be used by the entire code base, and mark unused function parameters as __unused to stop the following kind of build warning, elflink/load_env32.c: In function ‘load_env32’: elflink/load_env32.c:107:30: warning: unused parameter ‘regs’ Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/hdt')
-rw-r--r--com32/hdt/hdt-common.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/com32/hdt/hdt-common.h b/com32/hdt/hdt-common.h
index d37fcc8a..fec213d9 100644
--- a/com32/hdt/hdt-common.h
+++ b/com32/hdt/hdt-common.h
@@ -54,9 +54,6 @@
#include <acpi/acpi.h>
#include <libupload/upload_backend.h>
-/* Declare a variable or data structure as unused. */
-#define __unused __attribute__ (( unused ))
-
/* This two values are used for switching for the menu to the CLI mode */
#define HDT_SWITCH_TO_CLI "hdt_switch_to_cli"
#define HDT_DUMP "hdt_dump"