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 <abhijeet040403@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Abhijeetsingh Meena committed Mar 11, 2025 at 14:59 UTC 5337daddc78605951af39c7f12a9165da3d75462
1 file changed -1
dir.h
-1
@@ -43,7 +43,6 @@ struct repository;
43 *
44 */
45
46 -struct repository;
46
47 struct dir_entry {
48 unsigned int len;