diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-16 16:30:44 +0000 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-16 16:32:23 +0000 |
| commit | 1cc7c91b2cb0b49b97154c72fff68e4e5905a44e (patch) | |
| tree | 7fa901dc8ea16662133961712c7331147e99491a /util/nvmutil | |
| parent | 9b82c8fe11b1be4dc50a4a40ec35f8dbdbe909e7 (diff) | |
util/nvmutil: don't declare libc prototypes
i no longer use -Werror
these can actually conflict on some weird
systems, so better just remove them
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/nvmutil')
| -rw-r--r-- | util/nvmutil/nvmutil.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/util/nvmutil/nvmutil.c b/util/nvmutil/nvmutil.c index dd5a46e7..a0304ee4 100644 --- a/util/nvmutil/nvmutil.c +++ b/util/nvmutil/nvmutil.c @@ -704,17 +704,6 @@ static ino_t gbe_ino; static dev_t tmp_dev; static ino_t tmp_ino; -/* - * No need to declare feature - * macros. I jus declare the - * prototypes. Should be safe - * on most Unices and compilers - */ -char *mktemp(char *template); -int fchmod(int fd, mode_t mode); -void sync(void); -int syncfs(int fd); - static int tmp_fd = -1; static char *tname = NULL; @@ -722,8 +711,6 @@ static char *tname = NULL; #define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) #endif -extern void *malloc(); - int main(int argc, char *argv[]) { |
