Add const to char * pointers. This breaks nothing, and means const

chars can be passed with no warnings.
This commit is contained in:
Mark Murray 2015-06-28 12:52:28 +00:00
parent 6687b6720b
commit be1eea0753
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284911

View File

@ -37,14 +37,14 @@
* Note: global_procpp may be NULL for no global save area.
*/
struct kproc_desc {
char *arg0; /* arg 0 (for 'ps' listing) */
void (*func)(void); /* "main" for kernel process */
const char *arg0; /* arg 0 (for 'ps' listing) */
void (*func)(void); /* "main" for kernel process */
struct proc **global_procpp; /* ptr to proc ptr save area */
};
/* A kernel thread descriptor; used to start "internal" daemons. */
struct kthread_desc {
char *arg0; /* arg 0 (for 'ps' listing) */
const char *arg0; /* arg 0 (for 'ps' listing) */
void (*func)(void); /* "main" for kernel thread */
struct thread **global_threadpp; /* ptr to thread ptr save area */
};