all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* warning fix
@ 2008-07-12 14:44 Emanuele Giaquinta
  2008-07-14  7:15 ` Kenichi Handa
  0 siblings, 1 reply; 2+ messages in thread
From: Emanuele Giaquinta @ 2008-07-12 14:44 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 102 bytes --]

Hi,

fontset.c:fontset_from_font uses sprintf, so stdio.h must be included
unconditionally.

Emanuele

[-- Attachment #2: fontset.diff --]
[-- Type: text/x-diff, Size: 323 bytes --]

diff --git a/src/fontset.c b/src/fontset.c
index cde956c..5823869 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -28,9 +28,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include <config.h>
 
-#ifdef FONTSET_DEBUG
 #include <stdio.h>
-#endif
 
 #include "lisp.h"
 #include "blockinput.h"

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-14  7:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-12 14:44 warning fix Emanuele Giaquinta
2008-07-14  7:15 ` Kenichi Handa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.