optimizations #161

Open
emma wants to merge 44 commits from optimizations into main
2 changed files with 6 additions and 4 deletions
Showing only changes of commit efedcd3ae4 - Show all commits

View File

@ -8,12 +8,13 @@
*/ */
#ifdef __OpenBSD__ #ifdef __OpenBSD__
# include <unistd.h> /* pledge(2) */ # include <unistd.h> /* NULL, pledge(2), unveil(2) */
#endif #endif
int main(void) { int main(void) {
#ifdef __OpenBSD__ #ifdef __OpenBSD__
pledge(NULL, NULL); (void)pledge(NULL, NULL);
(void)unveil(NULL, NULL);
#endif #endif
return 1; return 1;
} }

View File

@ -8,11 +8,12 @@
*/ */
#ifdef __OpenBSD__ #ifdef __OpenBSD__
# include <unistd.h> /* pledge(2) */ # include <unistd.h> /* NULL, pledge(2), unveil(2) */
#endif #endif
int main(void) { int main(void) {
#ifdef __OpenBSD__ #ifdef __OpenBSD__
pledge(NULL, NULL); (void)pledge(NULL, NULL);
(void)unveil(NULL, NULL);
#endif #endif
} }