projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maint: update copyright
[gnulib.git]
/
tests
/
test-argmatch.c
diff --git
a/tests/test-argmatch.c
b/tests/test-argmatch.c
index
57ec0d5
..
735cb76
100644
(file)
--- a/
tests/test-argmatch.c
+++ b/
tests/test-argmatch.c
@@
-1,5
+1,5
@@
/* Test of exact or abbreviated match search.
/* Test of exact or abbreviated match search.
- Copyright (C) 1990, 1998-1999, 2001-201
1
Free Software Foundation, Inc.
+ Copyright (C) 1990, 1998-1999, 2001-201
4
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-29,14
+29,10
@@
/* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in <config.h>, and
thus must link with a definition of that function. Provide it here. */
#ifdef ARGMATCH_DIE_DECL
/* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in <config.h>, and
thus must link with a definition of that function. Provide it here. */
#ifdef ARGMATCH_DIE_DECL
-# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)
-# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
-# else
-# define ATTRIBUTE_NORETURN /* empty */
-# endif
-
ARGMATCH_DIE_DECL ATTRIBUTE_NORETURN
;
+
_Noreturn ARGMATCH_DIE_DECL
;
ARGMATCH_DIE_DECL { exit (1); }
ARGMATCH_DIE_DECL { exit (1); }
+
#endif
enum backup_type
#endif
enum backup_type