summaryrefslogtreecommitdiff
path: root/pico/osdep/filesys.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2024-01-21 19:03:45 -0700
committerEduardo Chappa <chappa@washington.edu>2024-01-21 19:03:45 -0700
commita55202787df1d5cfd3e37cb4c021422ee4aa9530 (patch)
tree5e87cc67b7c0d5e1adcd686e9dc22f11a577e99c /pico/osdep/filesys.c
parent0f19719595e79516fdf57e59d0661260c23a1df4 (diff)
downloadalpine-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 'pico/osdep/filesys.c')
-rw-r--r--pico/osdep/filesys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pico/osdep/filesys.c b/pico/osdep/filesys.c
index 75cb91ff..05be5fae 100644
--- a/pico/osdep/filesys.c
+++ b/pico/osdep/filesys.c
@@ -783,7 +783,9 @@ copy(char *a, char *b)
char *cb;
struct stat tsb, fsb;
EML eml;
+#ifndef errno
extern int errno;
+#endif
if(our_stat(a, &fsb) < 0){ /* get source file info */
eml.s = errstr(errno);