Mercurial > mplayer.hg
comparison vidix/sysdep/libdha_os2.c @ 28232:8df85ad26746
Add missing 'void' keyword to parameterless function declarations.
author | diego |
---|---|
date | Mon, 05 Jan 2009 14:48:03 +0000 |
parents | a9e111b88c4a |
children | 0f1b5b68af32 |
comparison
equal
deleted
inserted
replaced
28231:4e5ef09a3959 | 28232:8df85ad26746 |
---|---|
43 */ | 43 */ |
44 | 44 |
45 static HFILE mapdev = -1; | 45 static HFILE mapdev = -1; |
46 static ULONG stored_virt_addr; | 46 static ULONG stored_virt_addr; |
47 static char* mappath = "\\DEV\\PMAP$"; | 47 static char* mappath = "\\DEV\\PMAP$"; |
48 static HFILE open_mmap() | 48 static HFILE open_mmap(void) |
49 { | 49 { |
50 APIRET rc; | 50 APIRET rc; |
51 ULONG action; | 51 ULONG action; |
52 | 52 |
53 if (mapdev != -1) | 53 if (mapdev != -1) |
60 if (rc!=0) | 60 if (rc!=0) |
61 mapdev = -1; | 61 mapdev = -1; |
62 return mapdev; | 62 return mapdev; |
63 } | 63 } |
64 | 64 |
65 static void close_mmap() | 65 static void close_mmap(void) |
66 { | 66 { |
67 if (mapdev != -1) | 67 if (mapdev != -1) |
68 DosClose(mapdev); | 68 DosClose(mapdev); |
69 mapdev = -1; | 69 mapdev = -1; |
70 } | 70 } |