kernel: syscalls: Change handlers namespace

According C99 the first 31 characters of an identifier must be unique.
Shortening the namespace of the generated objects to achieve it.

C99 - 5.2.4.1
MISRA-C rule 5.1

Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
Flavio Ceolin 2018-09-24 16:29:10 -07:00 committed by Anas Nashif
commit 6fc84feaf2
3 changed files with 9 additions and 9 deletions

View file

@ -149,7 +149,7 @@ def analyze_fn(match_group):
invocation = "%s(%s)" % (macro, argslist)
handler = "_handler_" + func_name
handler = "hdlr_" + func_name
# Entry in _k_syscall_table
table_entry = "[%s] = %s" % (sys_id, handler)