=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/unistd.h,v retrieving revision 1.65 retrieving revision 1.66 diff -c -r1.65 -r1.66 *** src/include/unistd.h 2011/07/18 17:29:49 1.65 --- src/include/unistd.h 2011/11/09 15:34:18 1.66 *************** *** 1,4 **** ! /* $OpenBSD: unistd.h,v 1.65 2011/07/18 17:29:49 matthew Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: unistd.h,v 1.66 2011/11/09 15:34:18 fgsch Exp $ */ /* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */ /*- *************** *** 85,92 **** pid_t fork(void); long fpathconf(int, int); char *getcwd(char *, size_t) ! __attribute__((__bounded__(__string__,1,2))) ! __attribute__((__bounded__(__minbytes__,1,1024))); gid_t getegid(void); uid_t geteuid(void); gid_t getgid(void); --- 85,91 ---- pid_t fork(void); long fpathconf(int, int); char *getcwd(char *, size_t) ! __attribute__((__bounded__(__string__,1,2))); gid_t getegid(void); uid_t geteuid(void); gid_t getgid(void); *************** *** 139,146 **** int fsync(int); int ftruncate(int, off_t); int getlogin_r(char *, size_t) ! __attribute__((__bounded__(__string__,1,2))) ! __attribute__((__bounded__(__minbytes__,1,32))); #endif #if __XPG_VISIBLE || __BSD_VISIBLE --- 138,144 ---- int fsync(int); int ftruncate(int, off_t); int getlogin_r(char *, size_t) ! __attribute__((__bounded__(__string__,1,2))); #endif #if __XPG_VISIBLE || __BSD_VISIBLE