diff options
author | Zack Weinberg <zackw@panix.com> | 2017-06-08 15:39:03 -0400 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2017-06-08 15:39:03 -0400 |
commit | 5046dbb4a7eba5eccfd258f92f4735c9ffc8d069 (patch) | |
tree | 4470480d904b65cf14ca524f96f79eca818c3eaf /mach/errsystems.awk | |
parent | 199fc19d3aaaf57944ef036e15904febe877fc93 (diff) | |
download | glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.tar glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.tar.gz glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.tar.bz2 glibc-5046dbb4a7eba5eccfd258f92f4735c9ffc8d069.zip |
Prepare for radical source tree reorganization.zack/build-layout-experiment
All top-level files and directories are moved into a temporary storage
directory, REORG.TODO, except for files that will certainly still
exist in their current form at top level when we're done (COPYING,
COPYING.LIB, LICENSES, NEWS, README), all old ChangeLog files (which
are moved to the new directory OldChangeLogs, instead), and the
generated file INSTALL (which is just deleted; in the new order, there
will be no generated files checked into version control).
Diffstat (limited to 'mach/errsystems.awk')
-rw-r--r-- | mach/errsystems.awk | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/mach/errsystems.awk b/mach/errsystems.awk deleted file mode 100644 index a5e93604bc..0000000000 --- a/mach/errsystems.awk +++ /dev/null @@ -1,23 +0,0 @@ -BEGIN { - print "#include <errno.h>"; - print "#include <mach/error.h>"; - print "#include <errorlib.h>"; - print "#define static static const"; - nsubs = split(subsys, subs); - while (nsubs > 0) printf "#include \"%s\"\n", subs[nsubs--]; - print "\n\n\ -const struct error_system __mach_error_systems[err_max_system + 1] ="; - print " {"; -} -/^static.*err_[a-z0-9A-Z_]+_sub *\[/ { - s = $0; sub(/^.*err_/, "", s); sub(/_sub.*$/, "", s); - printf " [err_get_system (err_%s)] = { errlib_count (err_%s_sub),", - s, s; - printf "\"(system %s) error with unknown subsystem\", err_%s_sub },\n", - s, s; -} -END { - print " };"; - print "\n\ -const int __mach_error_system_count = errlib_count (__mach_error_systems);"; -} |