diff options
author | obrien <obrien@FreeBSD.org> | 2003-06-02 02:32:22 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-06-02 02:32:22 +0000 |
commit | fff6062717551fd93436fbe451c465f6d61b98a6 (patch) | |
tree | 5c744dad06b3d1d661942a1eee3a89f881e6fc9a /lib | |
parent | 4fb18559fecac01faf1e7c4ca1bd41e246ffd6f0 (diff) | |
download | FreeBSD-src-fff6062717551fd93436fbe451c465f6d61b98a6.zip FreeBSD-src-fff6062717551fd93436fbe451c465f6d61b98a6.tar.gz |
Use C99 compatible ASM statements.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gmon/gmon.c | 4 | ||||
-rw-r--r-- | lib/libc/i386/gen/ldexp.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c index 35bad63..da0c179 100644 --- a/lib/libc/gmon/gmon.c +++ b/lib/libc/gmon/gmon.c @@ -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 }; diff --git a/lib/libc/i386/gen/ldexp.c b/lib/libc/i386/gen/ldexp.c index 65c2748..ac179df 100644 --- a/lib/libc/i386/gen/ldexp.c +++ b/lib/libc/i386/gen/ldexp.c @@ -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 |