]> sourceware.org Git - glibc.git/commitdiff
Include <wchar.h>.
authorUlrich Drepper <drepper@redhat.com>
Fri, 17 Aug 2001 07:57:23 +0000 (07:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 17 Aug 2001 07:57:23 +0000 (07:57 +0000)
gmon/gmon.c

index c8923ab9da4cb23a57b98f97b852389ac5771754..b54b9aa18b64803be3ebf7f4743e94ef70017cac 100644 (file)
 #include <unistd.h>
 #include <libc-internal.h>
 
+#ifdef USE_IN_LIBIO
+# include <wchar.h>
+#endif
+
 struct __bb *__bb_head;        /*  Head of basic-block list or NULL. */
 
 struct gmonparam _gmonparam = { GMON_PROF_OFF };
@@ -53,7 +57,7 @@ struct gmonparam _gmonparam = { GMON_PROF_OFF };
 static int     s_scale;
 #define                SCALE_1_TO_1    0x10000L
 
-#define ERR(s) __write(2, s, sizeof(s) - 1)
+#define ERR(s) __write (STDERR_FILENO, s, sizeof (s) - 1)
 
 void moncontrol __P ((int mode));
 void __moncontrol __P ((int mode));
This page took 0.037416 seconds and 5 git commands to generate.