Marin Ramesa, le Thu 05 Dec 2013 22:03:48 +0100, a écrit : > * kern/debug.c (__stack_chk_guard): Remove unused variable.
Actually it is used by the gcc compiler. > --- > kern/debug.c | 7 ------- > 1 file changed, 7 deletions(-) > > diff --git a/kern/debug.c b/kern/debug.c > index 8cd3f02..d3ae4fa 100644 > --- a/kern/debug.c > +++ b/kern/debug.c > @@ -205,13 +205,6 @@ log(int level, const char *fmt, ...) > va_end(listp); > } > > -unsigned char __stack_chk_guard [ sizeof (vm_offset_t) ] = > -{ > - [ sizeof (vm_offset_t) - 3 ] = '\r', > - [ sizeof (vm_offset_t) - 2 ] = '\n', > - [ sizeof (vm_offset_t) - 1 ] = 0xff, > -}; > - > void > __stack_chk_fail (void) > { > -- > 1.8.1.4 > > -- Samuel Hi ! I'm a .signature virus ! Copy me into your ~/.signature, please !