path: root/sha1dc/ubc_check.h
diff options
authorJeff King <>2017-03-16 22:08:10 (GMT)
committerJunio C Hamano <>2017-03-16 22:16:45 (GMT)
commit45a574eec82424ac11c4c5fe117725597309b9c9 (patch)
treea3e7618713df7cab69d1be29d9a89c59ee0afefd /sha1dc/ubc_check.h
parent28dc98e343ca4eb370a29ceec4c19beac9b5c01e (diff)
sha1dc: adjust header includes for git
We can replace system includes with git-compat-util.h or cache.h (and should make sure it is included first in all C files). And we can drop includes from headers entirely, as every C file should include git-compat-util.h itself. We will add in new include guards around the header files, though (otherwise you get into trouble including both sha1dc/sha1.h and cache.h). And finally, we'll use the full "sha1dc/" path for including related files. This isn't strictly necessary, but makes the expected resolution more obvious. Signed-off-by: Jeff King <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'sha1dc/ubc_check.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/sha1dc/ubc_check.h b/sha1dc/ubc_check.h
index b349bed..b64c306 100644
--- a/sha1dc/ubc_check.h
+++ b/sha1dc/ubc_check.h
@@ -27,8 +27,6 @@
extern "C" {
-#include <stdint.h>
#define DVMASKSIZE 1
typedef struct { int dvType; int dvK; int dvB; int testt; int maski; int maskb; uint32_t dm[80]; } dv_info_t;
extern dv_info_t sha1_dvs[];