api/dispatch: Mark generated functions table readonly (#6576)

This commit is contained in:
Patrick Jackson
2017-04-24 03:39:48 -07:00
committed by Justin M. Keyes
parent 7f6d3d3052
commit 8dc3eca49b
2 changed files with 3 additions and 2 deletions

View File

@@ -41,6 +41,7 @@ funcsdata:close()
gperfpipe:write([[
%language=ANSI-C
%global-table
%readonly-tables
%define initializer-suffix ,0,0,NULL,NULL
%define word-array-name functions
%define hash-function-name hash_internal_func_gperf