Mercurial > mplayer.hg
comparison osdep/lrmi.c @ 10857:608666e629b2
warning fix (missing C initializer)
author | pl |
---|---|
date | Fri, 12 Sep 2003 15:54:28 +0000 |
parents | edfe34c5405d |
children | 5084f09ba20e |
comparison
equal
deleted
inserted
replaced
10856:503fb8a04360 | 10857:608666e629b2 |
---|---|
41 static struct | 41 static struct |
42 { | 42 { |
43 int ready; | 43 int ready; |
44 int count; | 44 int count; |
45 struct mem_block blocks[REAL_MEM_BLOCKS]; | 45 struct mem_block blocks[REAL_MEM_BLOCKS]; |
46 } mem_info = { 0 }; | 46 } mem_info = { .ready = 0, }; |
47 | 47 |
48 static int | 48 static int |
49 real_mem_init(void) | 49 real_mem_init(void) |
50 { | 50 { |
51 void *m; | 51 void *m; |
179 { | 179 { |
180 int ready; | 180 int ready; |
181 unsigned short ret_seg, ret_off; | 181 unsigned short ret_seg, ret_off; |
182 unsigned short stack_seg, stack_off; | 182 unsigned short stack_seg, stack_off; |
183 struct vm86_struct vm; | 183 struct vm86_struct vm; |
184 } context = { 0 }; | 184 } context = { .ready = 0, }; |
185 | 185 |
186 | 186 |
187 static inline void | 187 static inline void |
188 set_bit(unsigned int bit, void *array) | 188 set_bit(unsigned int bit, void *array) |
189 { | 189 { |