Few compile time warnings removed (Stefano Stabellini)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5361 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
		
							parent
							
								
									8bb6e981e0
								
							
						
					
					
						commit
						223f0d72a8
					
				
							
								
								
									
										7
									
								
								vl.c
								
								
								
								
							
							
						
						
									
										7
									
								
								vl.c
								
								
								
								
							| 
						 | 
				
			
			@ -71,7 +71,7 @@
 | 
			
		|||
#elif defined (__GLIBC__) && defined (__FreeBSD_kernel__)
 | 
			
		||||
#include <freebsd/stdlib.h>
 | 
			
		||||
#else
 | 
			
		||||
#ifndef __sun__
 | 
			
		||||
#ifdef __linux__
 | 
			
		||||
#include <linux/if.h>
 | 
			
		||||
#include <linux/if_tun.h>
 | 
			
		||||
#include <pty.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -85,7 +85,8 @@
 | 
			
		|||
 | 
			
		||||
#include <linux/ppdev.h>
 | 
			
		||||
#include <linux/parport.h>
 | 
			
		||||
#else
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef __sun__
 | 
			
		||||
#include <sys/stat.h>
 | 
			
		||||
#include <sys/ethernet.h>
 | 
			
		||||
#include <sys/sockio.h>
 | 
			
		||||
| 
						 | 
				
			
			@ -1680,7 +1681,7 @@ static void win32_rearm_timer(struct qemu_alarm_timer *t)
 | 
			
		|||
 | 
			
		||||
static void init_timer_alarm(void)
 | 
			
		||||
{
 | 
			
		||||
    struct qemu_alarm_timer *t;
 | 
			
		||||
    struct qemu_alarm_timer *t = NULL;
 | 
			
		||||
    int i, err = -1;
 | 
			
		||||
 | 
			
		||||
    for (i = 0; alarm_timers[i].name; i++) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue