Protect some sections agains clang-format
This commit is contained in:
		
							parent
							
								
									6169bfc966
								
							
						
					
					
						commit
						f6a57764d4
					
				
							
								
								
									
										4
									
								
								common.h
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								common.h
									
									
									
									
									
								
							| @ -9,6 +9,8 @@ | ||||
| 
 | ||||
| /* Debug macros */ | ||||
| 
 | ||||
| /* clang-format off */ | ||||
| 
 | ||||
| #ifdef ENABLE_DEBUG | ||||
| # define dbg(...) fprintf(stderr, __VA_ARGS__); | ||||
| #else | ||||
| @ -25,4 +27,6 @@ | ||||
| /* Poison assert */ | ||||
| #pragma GCC poison assert | ||||
| 
 | ||||
| /* clang-format on */ | ||||
| 
 | ||||
| #endif /* COMMON_H */ | ||||
|  | ||||
							
								
								
									
										2
									
								
								emu.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								emu.h
									
									
									
									
									
								
							| @ -232,6 +232,7 @@ enum chan_dirty { | ||||
| 	CHAN_DIRTY_VALUE = 2, | ||||
| }; | ||||
| 
 | ||||
| /* clang-format off */ | ||||
| static const int chan_to_prvtype[CHAN_MAX] = { | ||||
| 	[CHAN_OVNI_PID]         = 1, | ||||
| 	[CHAN_OVNI_TID]         = 2, | ||||
| @ -255,6 +256,7 @@ static const int chan_to_prvtype[CHAN_MAX] = { | ||||
| 	[CHAN_NANOS6_THREAD]    = 39, | ||||
| 	[CHAN_KERNEL_CS]        = 45, | ||||
| }; | ||||
| /* clang-format on */ | ||||
| 
 | ||||
| struct ovni_chan { | ||||
| 	/* Channel id */ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user