diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-11-11 19:53:54 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-11-13 01:31:35 +0100 |
commit | 5946df8a9291afd3daa5b2955f6e7630d2938288 (patch) | |
tree | 3eeb5fb7ebbf5bb0ec2c29bee5fc6e94caa4f0c6 /kern | |
parent | 2eb6a0e3ac5f4cf32ecdb5a7b2ae416a1cf19382 (diff) |
kern: remove register qualifiers
* kern/bootstrap.c: Remove register qualifiers.
Diffstat (limited to 'kern')
-rw-r--r-- | kern/bootstrap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kern/bootstrap.c b/kern/bootstrap.c index c98b0a2..a683ce9 100644 --- a/kern/bootstrap.c +++ b/kern/bootstrap.c @@ -318,7 +318,7 @@ itoa( vm_size_t num) { char buf[sizeof(vm_size_t)*2+3]; - register char *np; + char *np; np = buf + sizeof(buf); *--np = 0; @@ -338,7 +338,7 @@ itoa( */ static void get_compat_strings(char *flags_str, char *root_str) { - register char *ip, *cp; + char *ip, *cp; strcpy (root_str, "UNKNOWN"); @@ -528,7 +528,6 @@ build_args_and_stack(struct exec_info *boot_exec_info, { vm_offset_t stack_base; vm_size_t stack_size; - register char * arg_ptr; int arg_count, envc; int arg_len; |