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>
This commit is contained in:
Abhijeetsingh Meena
2025-03-11 14:59:35 +00:00
committed by Junio C Hamano
parent 67e7305e64
commit 5337daddc7

1
dir.h
View File

@@ -43,7 +43,6 @@ struct repository;
* *
*/ */
struct repository;
struct dir_entry { struct dir_entry {
unsigned int len; unsigned int len;