bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 12/18] kern/debug.c: fix implicit declaration of function


From: Samuel Thibault
Subject: Re: [PATCH 12/18] kern/debug.c: fix implicit declaration of function
Date: Mon, 9 Dec 2013 00:36:40 +0900
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Marin Ramesa, le Fri 06 Dec 2013 16:29:54 +0100, a écrit :
> This include fixes the implicit declaration of function. But I don't know
> if it is correct to include here stuff from i386at.

It is not, one can use <machine/model_dep.h> instead.

> * kern/debug.c: Include i386at/model_dep.h.
> 
> ---
>  kern/debug.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/kern/debug.c b/kern/debug.c
> index e9427a3..6e15e08 100644
> --- a/kern/debug.c
> +++ b/kern/debug.c
> @@ -40,6 +40,8 @@
>  
>  #include <device/cons.h>
>  
> +#include <i386at/model_dep.h>
> +
>  #if  MACH_KDB
>  extern int db_breakpoints_inserted;
>  #endif
> -- 
> 1.8.1.4
> 
> 

-- 
Samuel
"And the next time you consider complaining that running Lucid Emacs
19.05 via NFS from a remote Linux machine in Paraguay doesn't seem to
get the background colors right, you'll know who to thank."
(By Matt Welsh)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]