diff options
author | Eduardo Chappa <chappa@washington.edu> | 2024-01-21 19:03:45 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2024-01-21 19:03:45 -0700 |
commit | a55202787df1d5cfd3e37cb4c021422ee4aa9530 (patch) | |
tree | 5e87cc67b7c0d5e1adcd686e9dc22f11a577e99c /imap/src/osdep/nt | |
parent | 0f19719595e79516fdf57e59d0661260c23a1df4 (diff) | |
download | alpine-a55202787df1d5cfd3e37cb4c021422ee4aa9530.tar.xz |
* Clean up some function definitions to comply with strict
prototypes. Suggested and worked in part by Holger Hoffstätte.
Diffstat (limited to 'imap/src/osdep/nt')
-rw-r--r-- | imap/src/osdep/nt/mbxnt.c | 2 | ||||
-rw-r--r-- | imap/src/osdep/nt/mtxnt.c | 2 | ||||
-rw-r--r-- | imap/src/osdep/nt/tenexnt.c | 2 | ||||
-rw-r--r-- | imap/src/osdep/nt/unixnt.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/imap/src/osdep/nt/mbxnt.c b/imap/src/osdep/nt/mbxnt.c index f35bfa6c..859d06ea 100644 --- a/imap/src/osdep/nt/mbxnt.c +++ b/imap/src/osdep/nt/mbxnt.c @@ -37,7 +37,9 @@ #include <stdio.h> #include <ctype.h> #include <errno.h> +#ifndef errno extern int errno; /* just in case */ +#endif #include "mail.h" #include "osdep.h" #include <fcntl.h> diff --git a/imap/src/osdep/nt/mtxnt.c b/imap/src/osdep/nt/mtxnt.c index fa80afde..90e7927e 100644 --- a/imap/src/osdep/nt/mtxnt.c +++ b/imap/src/osdep/nt/mtxnt.c @@ -37,7 +37,9 @@ #include <stdio.h> #include <ctype.h> #include <errno.h> +#ifndef errno extern int errno; /* just in case */ +#endif #include "mail.h" #include "osdep.h" #include <fcntl.h> diff --git a/imap/src/osdep/nt/tenexnt.c b/imap/src/osdep/nt/tenexnt.c index 054ce73a..c1c57946 100644 --- a/imap/src/osdep/nt/tenexnt.c +++ b/imap/src/osdep/nt/tenexnt.c @@ -42,7 +42,9 @@ #include <stdio.h> #include <ctype.h> #include <errno.h> +#ifndef errno extern int errno; /* just in case */ +#endif #include "mail.h" #include "osdep.h" #include <fcntl.h> diff --git a/imap/src/osdep/nt/unixnt.c b/imap/src/osdep/nt/unixnt.c index 8c147985..1b9ee3a2 100644 --- a/imap/src/osdep/nt/unixnt.c +++ b/imap/src/osdep/nt/unixnt.c @@ -40,7 +40,9 @@ #include <stdio.h> #include <ctype.h> #include <errno.h> +#ifndef errno extern int errno; /* just in case */ +#endif #include "mail.h" #include "osdep.h" #include <time.h> |