[PATCH] Do not include unused header files.
Some source files were including "delta.h" without actually needing it. Remove them. Signed-off-by: Junio C Hamano <junkio@cox.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>maint
							parent
							
								
									e25de75696
								
							
						
					
					
						commit
						844e6e4d58
					
				|  | @ -6,7 +6,6 @@ | ||||||
| #include <stdlib.h> | #include <stdlib.h> | ||||||
| #include <string.h> | #include <string.h> | ||||||
| #include <limits.h> | #include <limits.h> | ||||||
| #include "delta.h" |  | ||||||
| #include "count-delta.h" | #include "count-delta.h" | ||||||
|  |  | ||||||
| static unsigned long get_hdr_size(const unsigned char **datap) | static unsigned long get_hdr_size(const unsigned char **datap) | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #include "cache.h" | #include "cache.h" | ||||||
| #include "diff.h" | #include "diff.h" | ||||||
| #include "diffcore.h" | #include "diffcore.h" | ||||||
| #include "delta.h" |  | ||||||
|  |  | ||||||
| struct path_spec { | struct path_spec { | ||||||
| 	const char *spec; | 	const char *spec; | ||||||
|  |  | ||||||
|  | @ -4,7 +4,6 @@ | ||||||
| #include "cache.h" | #include "cache.h" | ||||||
| #include "diff.h" | #include "diff.h" | ||||||
| #include "diffcore.h" | #include "diffcore.h" | ||||||
| #include "delta.h" |  | ||||||
|  |  | ||||||
| static int contains(struct diff_filespec *one, | static int contains(struct diff_filespec *one, | ||||||
| 		    const char *needle, unsigned long len) | 		    const char *needle, unsigned long len) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Junio C Hamano
						Junio C Hamano