commit e1f81a4ddac2004aba31bf4430cf13d662367a92 from: Omar Polo date: Sat Jan 29 15:08:43 2022 UTC drop attribute __bounded__ in vis.h it's not super-important, generates lots of warnings and seems to be absent in other copies of vis.h scattered on other OpenBSD -portable software (tmux for instance.) commit - 632c1cc27eb76b3c3e887c28fc26b4f82960f967 commit + e1f81a4ddac2004aba31bf4430cf13d662367a92 blob - cb1b9bd93046bd4c4738c07cece523bd7af294aa blob + 9f12d236098dc4e6f2904b84f58cb2e04c4ee088 --- compat/vis.h +++ compat/vis.h @@ -76,13 +76,10 @@ char *vis(char *, int, int, int); int strvis(char *, const char *, int); int stravis(char **, const char *, int); -int strnvis(char *, const char *, size_t, int) - __attribute__ ((__bounded__(__string__,1,3))); -int strvisx(char *, const char *, size_t, int) - __attribute__ ((__bounded__(__string__,1,3))); +int strnvis(char *, const char *, size_t, int); +int strvisx(char *, const char *, size_t, int); int strunvis(char *, const char *); int unvis(char *, char, int *, int); -ssize_t strnunvis(char *, const char *, size_t) - __attribute__ ((__bounded__(__string__,1,3))); +ssize_t strnunvis(char *, const char *, size_t); #endif /* !_VIS_H_ */