summaryrefslogtreecommitdiffstats
path: root/loader/drv.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-16 20:17:56 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-16 20:17:56 +0000
commit26b29f4f2d4284fb81647a00b81530f280881303 (patch)
tree2ab0a30362d6cdf878efc039236befa860e28ae3 /loader/drv.c
parent2195547220674940ef20e9ea38bb3610541d04b3 (diff)
downloadmpv-26b29f4f2d4284fb81647a00b81530f280881303.tar.bz2
mpv-26b29f4f2d4284fb81647a00b81530f280881303.tar.xz
Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should be the most correct and portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/drv.c')
-rw-r--r--loader/drv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/loader/drv.c b/loader/drv.c
index 5d4f0dcb93..b8fecf7467 100644
--- a/loader/drv.c
+++ b/loader/drv.c
@@ -52,7 +52,7 @@ extern char* def_path;
#else
// this asm code is no longer needed
#define STORE_ALL \
- __asm__ __volatile__ ( \
+ __asm__ volatile ( \
"push %%ebx\n\t" \
"push %%ecx\n\t" \
"push %%edx\n\t" \
@@ -60,7 +60,7 @@ extern char* def_path;
"push %%edi\n\t"::)
#define REST_ALL \
- __asm__ __volatile__ ( \
+ __asm__ volatile ( \
"pop %%edi\n\t" \
"pop %%esi\n\t" \
"pop %%edx\n\t" \
@@ -98,7 +98,7 @@ LRESULT WINAPI SendDriverMessage(HDRVR hDriver, UINT message,
#endif
if (!module || !module->hDriverModule || !module->DriverProc) return -1;
#ifndef __svr4__
- __asm__ __volatile__ ("fsave (%0)\n\t": :"r"(&qw));
+ __asm__ volatile ("fsave (%0)\n\t": :"r"(&qw));
#endif
#ifdef WIN32_LOADER
@@ -110,7 +110,7 @@ LRESULT WINAPI SendDriverMessage(HDRVR hDriver, UINT message,
REST_ALL;
#ifndef __svr4__
- __asm__ __volatile__ ("frstor (%0)\n\t": :"r"(&qw));
+ __asm__ volatile ("frstor (%0)\n\t": :"r"(&qw));
#endif
#ifdef DETAILED_OUT