mirror of
				https://github.com/libsdl-org/SDL.git
				synced 2025-11-04 01:34:38 +00:00 
			
		
		
		
	Removed unused signal includes and handler in test programs.
This commit is contained in:
		@@ -20,10 +20,6 @@
 | 
				
			|||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if HAVE_SIGNAL_H
 | 
					 | 
				
			||||||
#include <signal.h>
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#ifdef __EMSCRIPTEN__
 | 
					#ifdef __EMSCRIPTEN__
 | 
				
			||||||
#include <emscripten/emscripten.h>
 | 
					#include <emscripten/emscripten.h>
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
@@ -104,11 +100,6 @@ fillerup(void *unused, Uint8 * stream, int len)
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static int done = 0;
 | 
					static int done = 0;
 | 
				
			||||||
void
 | 
					 | 
				
			||||||
poked(int sig)
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    done = 1;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __EMSCRIPTEN__
 | 
					#ifdef __EMSCRIPTEN__
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <signal.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "SDL.h"
 | 
					#include "SDL.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -14,7 +14,6 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include <stdio.h>
 | 
					#include <stdio.h>
 | 
				
			||||||
#include <stdlib.h>
 | 
					#include <stdlib.h>
 | 
				
			||||||
#include <signal.h>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "SDL.h"
 | 
					#include "SDL.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user