aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/utils/make_driver_tab
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-08-28 20:55:16 +0200
committerSverker Eriksson <[email protected]>2013-08-28 20:55:16 +0200
commit43b1f1755b1ca9003d88655bfebe5ca9e46cfbf6 (patch)
tree026b326cf03adf868b26142ea0a0885b001d4140 /erts/emulator/utils/make_driver_tab
parent24a141833ad33ff889b07dce83e4f046a9a0a775 (diff)
downloadotp-43b1f1755b1ca9003d88655bfebe5ca9e46cfbf6.tar.gz
otp-43b1f1755b1ca9003d88655bfebe5ca9e46cfbf6.tar.bz2
otp-43b1f1755b1ca9003d88655bfebe5ca9e46cfbf6.zip
erts: Remove unused constant DRIVER_TAB_SIZE
Diffstat (limited to 'erts/emulator/utils/make_driver_tab')
-rwxr-xr-xerts/emulator/utils/make_driver_tab6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/utils/make_driver_tab b/erts/emulator/utils/make_driver_tab
index 3eedef21a7..0e6793d2af 100755
--- a/erts/emulator/utils/make_driver_tab
+++ b/erts/emulator/utils/make_driver_tab
@@ -2,7 +2,7 @@
#
# %CopyrightBegin%
#
-# Copyright Ericsson AB 1999-2009. All Rights Reserved.
+# Copyright Ericsson AB 1999-2013. All Rights Reserved.
#
# The contents of this file are subject to the Erlang Public License,
# Version 1.1, (the "License"); you may not use this file except in
@@ -88,7 +88,7 @@ foreach (@static_drivers) {
}
# The array itself
-print "\nErlDrvEntry *driver_tab[DRIVER_TAB_SIZE] =\n{\n";
+print "\nErlDrvEntry *driver_tab[] =\n{\n";
foreach (@emu_drivers) {
print " &${_}driver_entry,\n";
@@ -126,7 +126,7 @@ foreach (@nifs) {
}
# The array itself
-print "static ErtsStaticNifEntry static_nif_tab[DRIVER_TAB_SIZE] =\n{\n";
+print "static ErtsStaticNifEntry static_nif_tab[] =\n{\n";
foreach (@nifs) {
my $d = ${_};