target-sparc: Use fprintf_function (format checking)
This change was missing in commit 9a78eead0c74333a394c0f7bbfc4423ac746fcd5. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
		
							parent
							
								
									6e2d864edf
								
							
						
					
					
						commit
						047b39e47c
					
				@ -2,6 +2,7 @@
 | 
				
			|||||||
#define CPU_SPARC_H
 | 
					#define CPU_SPARC_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "config.h"
 | 
					#include "config.h"
 | 
				
			||||||
 | 
					#include "qemu-common.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if !defined(TARGET_SPARC64)
 | 
					#if !defined(TARGET_SPARC64)
 | 
				
			||||||
#define TARGET_LONG_BITS 32
 | 
					#define TARGET_LONG_BITS 32
 | 
				
			||||||
@ -442,8 +443,7 @@ typedef struct CPUSPARCState {
 | 
				
			|||||||
/* helper.c */
 | 
					/* helper.c */
 | 
				
			||||||
CPUSPARCState *cpu_sparc_init(const char *cpu_model);
 | 
					CPUSPARCState *cpu_sparc_init(const char *cpu_model);
 | 
				
			||||||
void cpu_sparc_set_id(CPUSPARCState *env, unsigned int cpu);
 | 
					void cpu_sparc_set_id(CPUSPARCState *env, unsigned int cpu);
 | 
				
			||||||
void sparc_cpu_list (FILE *f, int (*cpu_fprintf)(FILE *f, const char *fmt,
 | 
					void sparc_cpu_list(FILE *f, fprintf_function cpu_fprintf);
 | 
				
			||||||
                                                 ...));
 | 
					 | 
				
			||||||
int cpu_sparc_handle_mmu_fault(CPUSPARCState *env1, target_ulong address, int rw,
 | 
					int cpu_sparc_handle_mmu_fault(CPUSPARCState *env1, target_ulong address, int rw,
 | 
				
			||||||
                               int mmu_idx, int is_softmmu);
 | 
					                               int mmu_idx, int is_softmmu);
 | 
				
			||||||
#define cpu_handle_mmu_fault cpu_sparc_handle_mmu_fault
 | 
					#define cpu_handle_mmu_fault cpu_sparc_handle_mmu_fault
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user