@@ -54,12 +54,12 @@ $excludes ||= "$code_base/src/tools/pgindent/exclude_file_patterns"
54
54
# some names we want to treat like typedefs, e.g. "bool" (which is a macro
55
55
# according to <stdbool.h>), and may include some names we don't want
56
56
# treated as typedefs, although various headers that some builds include
57
- # might make them so. For the moment we just hardwire awhitelist of names
58
- # to add and ablacklist of names toremove ; eventually this may need to be
57
+ # might make them so. For the moment we just hardwire alist of names
58
+ # to add and alist of names toexclude ; eventually this may need to be
59
59
# easier to configure. Note that the typedefs need trailing newlines.
60
- my @whitelist = (" bool\n " );
60
+ my @additional = (" bool\n " );
61
61
62
- my %blacklist =map { +" $_ \n " => 1 }qw(
62
+ my %excluded =map { +" $_ \n " => 1 }qw(
63
63
ANY FD_SET U abs allocfunc boolean date digit ilist interval iterator other
64
64
pointer printfunc reference string timestamp type wrap
65
65
) ;
@@ -134,11 +134,11 @@ sub load_typedefs
134
134
}
135
135
}
136
136
137
- # addwhitelisted entries
138
- push (@typedefs ,@whitelist );
137
+ # addadditional entries
138
+ push (@typedefs ,@additional );
139
139
140
- # removeblacklisted entries
141
- @typedefs =grep { !$blacklist {$_ } }@typedefs ;
140
+ # removeexcluded entries
141
+ @typedefs =grep { !$excluded {$_ } }@typedefs ;
142
142
143
143
# write filtered typedefs
144
144
my $filter_typedefs_fh = new File::Temp(TEMPLATE => " pgtypedefXXXXX" );