From: Abhijeetsingh Meena Date: Tue, 11 Mar 2025 14:59:35 +0000 (+0000) Subject: dir.h: remove duplicate forward declaration of struct repository X-Git-Tag: v2.50.0-rc0~164^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5337daddc78605951af39c7f12a9165da3d75462;p=thirdparty%2Fgit.git dir.h: remove duplicate forward declaration of struct repository The `struct repository;` forward declaration appears twice in `dir.h`: once at line 10 and again at line 46. This duplication is unnecessary and likely unintentional. Removing the second declaration has no impact on compilation, as verified by a clean build. Signed-off-by: Abhijeetsingh Meena Signed-off-by: Junio C Hamano --- diff --git a/dir.h b/dir.h index ad06682fd5..82c249fad9 100644 --- a/dir.h +++ b/dir.h @@ -43,7 +43,6 @@ struct repository; * */ -struct repository; struct dir_entry { unsigned int len;