summaryrefslogtreecommitdiff
path: root/modules/dfa-tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-07-27 12:57:45 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-07-27 12:58:12 -0700
commit0b93877fc4bdcd84b78805e5917e4ab94684b9bc (patch)
treecdf33f481c7bc22e4344e5994fe66b91ce87db70 /modules/dfa-tests
parent1990797800153088f32029877f503f3157aad9ed (diff)
downloadgnulib-0b93877fc4bdcd84b78805e5917e4ab94684b9bc.tar.gz
dfa-tests: port to MSVC
Problem reported by Gisle Vanem in: https://lists.gnu.org/r/bug-gnulib/2020-07/msg00159.html Also, remove an unnecessary dependency on getprogname. * modules/dfa-tests (Depends-on): Remove getprogname. * tests/test-dfa-match-aux.c: Do not include getprogname.h. (exit_status): New static var. (dfawarn): Set it instead of exiting. Do not declare as _Noreturn, to pacify MSVC. (main): Return exit_status.
Diffstat (limited to 'modules/dfa-tests')
-rw-r--r--modules/dfa-tests1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/dfa-tests b/modules/dfa-tests
index 4c447c28e5..2775ccbbf9 100644
--- a/modules/dfa-tests
+++ b/modules/dfa-tests
@@ -4,7 +4,6 @@ tests/test-dfa-match-aux.c
tests/test-dfa-invalid-char-class.sh
Depends-on:
-getprogname
stdio
stdlib
string