1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-14 14:55:41 +00:00

The syscall names are string constants, so make them consts.

This commit is contained in:
David Malone 2002-10-29 15:47:06 +00:00
parent 8471b60389
commit 6bd34a1e6f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=106149
2 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ s/\$//g
printf "#endif\n\n" > sysarg
printf " * created from%s\n */\n\n", $0 > sysnames
printf "char *%s[] = {\n", namesname > sysnames
printf "const char *%s[] = {\n", namesname > sysnames
printf " * created from%s\n */\n\n", $0 > syshdr

View File

@ -3,10 +3,10 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.133 2002/10/22 14:22:24 rwatson Exp
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.134 2002/10/25 19:10:57 peter Exp
*/
char *syscallnames[] = {
const char *syscallnames[] = {
"syscall", /* 0 = syscall */
"exit", /* 1 = exit */
"fork", /* 2 = fork */