aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@adacore.com>2021-01-14 16:12:19 -0300
committerAlexandre Oliva <oliva@gnu.org>2021-01-14 16:12:19 -0300
commit088e46b8d4d81e429f78ca75b47a179f489be16d (patch)
treecc068bb58c9b525162946f5d3c7533361d9d01bb /gcc/fortran/resolve.c
parent505caa7295b93ecdec8ac9b31595eb34dbd48c9f (diff)
downloadgcc-088e46b8d4d81e429f78ca75b47a179f489be16d.zip
gcc-088e46b8d4d81e429f78ca75b47a179f489be16d.tar.gz
gcc-088e46b8d4d81e429f78ca75b47a179f489be16d.tar.bz2
declare getpass in analyzer/sensitive-1.c test
The getpass function is not available on all systems; and not necessarily declared in unistd.h, as expected by the sensitive-1 analyzer test. Since this is a compile-only test, it doesn't really matter if the function is defined in the system libraries. All we need is a declaration, to avoid warnings from calling an undeclared function. This patch adds the declaration, in a way that is most unlikely to conflict with any existing declaration. for gcc/testsuite/ChangeLog * gcc.dg/analyzer/sensitive-1.c: Declare getpass.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions