guile-devel
[Top][All Lists]
Advanced

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

Re: Moving #include <stdio.h> into _scm.h


From: Mikael Djurfeldt
Subject: Re: Moving #include <stdio.h> into _scm.h
Date: 09 Mar 2001 22:28:18 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Keisuke Nishida <address@hidden> writes:

> 79 of 102 C files in libguile include <stdio.h>.
> 
>   % cd libguile
>   % ls *.c | wc -l
>       102
>   % grep 'include <stdio.h>' *.c | wc -l
>        79
> 
> Isn't it enough number to move them into _scm.h?
> 
> I also want to include at least <string.h> in _scm.h.
> May I do that?

Hmm... I'd rather go in the other direction: Remove things from _scm.h
that not all files need and remove #include <stdio.h> from files which
don't use stdio.  I'm sure that only a minority of the 79 files
including stdio really needs it.

Mikael



reply via email to

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