mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:22:43 +00:00 
			
		
		
		
	 abc150085f
			
		
	
	
		abc150085f
		
	
	
	
	
		
			
			Some header files use __BEGIN_DECLS without including sys/cdefs.h. This causes issues for C code that compiles against these headers, which may occur with Ports.
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			391 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			391 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2020, Itamar S. <itamar8910@gmail.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <Kernel/API/POSIX/sys/ptrace.h>
 | |
| #include <sys/cdefs.h>
 | |
| 
 | |
| __BEGIN_DECLS
 | |
| 
 | |
| // FIXME: PID/TID ISSUE
 | |
| // Affects the entirety of LibDebug and Userland/strace.cpp.
 | |
| // See also Kernel/Ptrace.cpp
 | |
| long ptrace(int request, pid_t tid, void* addr, void* data);
 | |
| 
 | |
| __END_DECLS
 |