mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Helper script which greps for compat includes that shouldn't be present in all files but compat.h.
This commit is contained in:
		
							
								
								
									
										5
									
								
								tools/check-compat.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								tools/check-compat.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
# $Id: check-compat.sh,v 1.1 2010-10-24 00:42:04 tcunha Exp $
 | 
			
		||||
 | 
			
		||||
grep "#include" compat.h|while read line; do
 | 
			
		||||
     grep "$line" *.[ch] compat/*.[ch]
 | 
			
		||||
done
 | 
			
		||||
		Reference in New Issue
	
	Block a user