summaryrefslogtreecommitdiff
path: root/util/nvmutil/lib/usage.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-19 06:59:11 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-19 07:22:03 +0000
commitf1fda8b43eb03be951846c6df9d0be81be84808e (patch)
tree3763a5d0fa6c056cf4fcb0e23c2204c4773bef86 /util/nvmutil/lib/usage.c
parent2ed8db3adc19dd922e31082634146e159f65af2e (diff)
util/nvmutil: tidy up includes
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil/lib/usage.c')
-rw-r--r--util/nvmutil/lib/usage.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/util/nvmutil/lib/usage.c b/util/nvmutil/lib/usage.c
index e8a3cdf7..3b0614e8 100644
--- a/util/nvmutil/lib/usage.c
+++ b/util/nvmutil/lib/usage.c
@@ -1,35 +1,17 @@
/* SPDX-License-Identifier: MIT
- *
* Copyright (c) 2023 Riku Viitanen <riku.viitanen@protonmail.com>
* Copyright (c) 2026 Leah Rowe <leah@libreboot.org>
- *
*/
-#ifdef __OpenBSD__
-#include <sys/param.h>
-#endif
-#include <sys/types.h>
-#include <sys/stat.h>
-
#include <errno.h>
-#include <fcntl.h>
-#include <limits.h>
-#include <stdarg.h>
-#include <stddef.h>
#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <time.h>
-#include <unistd.h>
#include "../include/common.h"
void
usage(void)
{
- const char *util;
-
- util = getnvmprogname();
+ const char *util = getnvmprogname();
fprintf(stderr,
"Modify Intel GbE NVM images e.g. set MAC\n"