1
mirror of https://github.com/hashcat/hashcat synced 2024-11-20 23:27:31 +01:00

fix compilation with FreeBSD

FreeBSD is checked for in two places and two duplicate functions are
used. Just use the former.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-07-09 16:52:03 -07:00
parent 1636bc41df
commit 147ec30fd6
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B

View File

@ -490,7 +490,7 @@ int tty_fix ()
} }
#endif #endif
#if defined (__APPLE__) || defined (__FreeBSD__) #if defined (__APPLE__)
static struct termios savemodes; static struct termios savemodes;
static int havemodes = 0; static int havemodes = 0;