* gmon.c: Drop gratuitous inclusion of strings.h. Remove __MINGW32__
around definition of bzero.
This commit is contained in:
parent
943072f45c
commit
700f8d5902
@ -1,3 +1,8 @@
|
|||||||
|
2013-06-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* gmon.c: Drop gratuitous inclusion of strings.h. Remove __MINGW32__
|
||||||
|
around definition of bzero.
|
||||||
|
|
||||||
2013-06-18 Corinna Vinschen <corinna@vinschen.de>
|
2013-06-18 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* Makefile.in (VPATH): Drop CONFIG_DIR.
|
* Makefile.in (VPATH): Drop CONFIG_DIR.
|
||||||
|
@ -39,7 +39,6 @@ static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <strings.h>
|
|
||||||
#ifndef __MINGW32__
|
#ifndef __MINGW32__
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
@ -57,10 +56,8 @@ static char rcsid[] = "$OpenBSD: gmon.c,v 1.8 1997/07/23 21:11:27 kstailey Exp $
|
|||||||
#define MINUS_ONE_P (-1)
|
#define MINUS_ONE_P (-1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#define bzero(ptr,size) memset (ptr, 0, size);
|
#define bzero(ptr,size) memset (ptr, 0, size);
|
||||||
#endif
|
|
||||||
|
|
||||||
struct gmonparam _gmonparam = { GMON_PROF_OFF, NULL, 0, NULL, 0, NULL, 0, 0L,
|
struct gmonparam _gmonparam = { GMON_PROF_OFF, NULL, 0, NULL, 0, NULL, 0, 0L,
|
||||||
0, 0, 0, 0};
|
0, 0, 0, 0};
|
||||||
|
Loading…
Reference in New Issue
Block a user