Skip to content

Commit

Permalink
Internal namespace test improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Jan 12, 2010
1 parent d3c7e68 commit a9625ea
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2010-01-12 Ulrich Drepper <[email protected]>

* conform/conformtest.pl (checknamespace): Implement tag for
allow-header.
* conform/data/time.h-data: Use allow-header instead of duplicating
information.

* conform/data/time.h-data: Allow sigevent tag.

* posix/sched.h: Define time_t and pid_t for XPG7.
Expand Down
4 changes: 2 additions & 2 deletions conform/conformtest.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1057,8 +1057,8 @@ sub checknamespace {
push @allow, $1;
} elsif (/^typed-constant *([a-zA-Z0-9_]*) *({([^}]*)}|([^ ]*)) *([A-Za-z0-9_]*)?/) {
push @allow, 1;
} elsif (/^type *({([^}]*)|([a-zA-Z0-9_]*))/) {
my($type) = "$2$3";
} elsif (/^(type|tag) *({([^}]*)|([a-zA-Z0-9_]*))/) {
my($type) = "$3$4";

# Remember that this name is allowed.
if ($type =~ /^struct *(.*)/) {
Expand Down
11 changes: 2 additions & 9 deletions conform/data/time.h-data
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,5 @@ variable {long int} timezone
#endif
variable {char*} tzname [2]

allow tm_*
allow clock_*
allow timer_*
allow it_*
allow tv_*
allow CLOCK_*
allow TIMER_*
allow *_t
allow sigevent
allow-header sched.h
allow-header time.h

0 comments on commit a9625ea

Please sign in to comment.