Use C99 compatible ASM statements.

This commit is contained in:
obrien 2003-06-02 02:32:22 +00:00
parent 4fb18559fe
commit fff6062717
2 changed files with 3 additions and 3 deletions

View File

@ -54,9 +54,9 @@ __FBSDID("$FreeBSD$");
#include "libc_private.h"
#if defined(__i386__) || defined(__sparc64__) || defined(__amd64__)
extern char *minbrk asm (".minbrk");
extern char *minbrk __asm (".minbrk");
#else
extern char *minbrk asm ("minbrk");
extern char *minbrk __asm ("minbrk");
#endif
struct gmonparam _gmonparam = { GMON_PROF_OFF };

View File

@ -59,7 +59,7 @@ ldexp (double value, int exp)
texp = exp;
#ifdef __GNUC__
#if __GNUC__ >= 2
asm ("fscale "
__asm ("fscale "
: "=u" (temp2), "=t" (temp)
: "0" (texp), "1" (value));
#else