limit the visibility of some standard libraries

This commit is contained in:
anon 2024-11-13 13:01:21 +01:00
parent df60477f7c
commit 3367e21eb3
3 changed files with 7 additions and 7 deletions

View File

@ -41,6 +41,7 @@
#include "scanner.h" /* for token definitions */
#include <assert.h>
#include <signal.h>
#include <ncurses.h>
#include <regex.h>
#include <setjmp.h> /* jmp_buf */

View File

@ -40,16 +40,14 @@
#define UNUSED(x) (void)(x)
#include <unistd.h>
#include <sys/types.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdbool.h>
#include <assert.h>
#include <ctype.h> /* isalpha, isdigit, etc. */
#include <signal.h> /* SIGINT and SIGQUIT */
#include <stdio.h> /* standard I/O package */
#include <stdlib.h> /* standard library functions */
#include <stdarg.h>
#include <unistd.h>
#include <sys/types.h>
#include <fcntl.h>
#include <stdbool.h>
#include <string.h> /* string functions */

View File

@ -41,6 +41,7 @@
#include <setjmp.h> /* jmp_buf */
#include <stdlib.h>
#include <errno.h>
#include <signal.h>
#if HAVE_SYS_TERMIOS_H
# include <sys/termios.h>
#endif