diff options
Diffstat (limited to 'bin/cp/extern.h')
-rw-r--r-- | bin/cp/extern.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/cp/extern.h b/bin/cp/extern.h index e393844..8d848f8 100644 --- a/bin/cp/extern.h +++ b/bin/cp/extern.h @@ -34,6 +34,9 @@ #ifndef _EXTERN_H_ #define _EXTERN_H_ +#define MAXBSIZE (64 * 1024) +#define _POSIX_C_SOURCE 200809L + typedef struct { char *p_end; /* pointer to NULL at end of path */ char *target_end; /* pointer to end of target base */ @@ -46,9 +49,6 @@ extern int Rflag, rflag, Hflag, Lflag, Pflag, fflag, iflag, lflag, pflag, Nflag; extern mode_t myumask; extern sig_atomic_t pinfo; -#include <sys/cdefs.h> - -__BEGIN_DECLS int copy_fifo(struct stat *, int); int copy_file(FTSENT *, int); int copy_link(FTSENT *, int); @@ -56,6 +56,5 @@ int copy_special(struct stat *, int); int set_utimes(const char *, struct stat *); int setfile(struct stat *, int); void usage(void) __attribute__((__noreturn__)); -__END_DECLS #endif /* !_EXTERN_H_ */ |