From f8230eff4bef3ce72379b95988d3540433ea47a0 Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 5 Jan 2024 00:33:47 -0500 Subject: [PATCH] quiet compiler warnings building sys/share/uudecode.c --- sys/share/uudecode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/share/uudecode.c b/sys/share/uudecode.c index 9d2eacbb1..c7a1dea83 100644 --- a/sys/share/uudecode.c +++ b/sys/share/uudecode.c @@ -128,7 +128,7 @@ main(int argc, char **argv) } (void) sscanf(buf, "begin %o %s", &mode, dest); -#if !defined(MSDOS) && !defined(VMS) && !defined(WIN32) && !defined(__APPLE__) +#if !defined(MSDOS) && !defined(VMS) && !defined(WIN32) && !defined(__APPLE__) && !defined(__linux__) /* handle ~user/file format */ if (dest[0] == '~') { char *sl; @@ -237,7 +237,7 @@ outdec(char *p, FILE *f, int n) putc(c3, f); } -#if !defined(MSDOS) && !defined(VMS) && !defined(WIN32) && !defined(__APPLE__) +#if !defined(MSDOS) && !defined(VMS) && !defined(WIN32) && !defined(__APPLE__) && !defined(__linux__) /* * Return the ptr in sp at which the character c appears;