]> Kevux Git Server - rit/commit
dir.h: remove duplicate forward declaration of struct repository
authorAbhijeetsingh Meena <abhijeet040403@gmail.com>
Tue, 11 Mar 2025 14:59:35 +0000 (14:59 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 11 Mar 2025 22:13:21 +0000 (15:13 -0700)
commit5337daddc78605951af39c7f12a9165da3d75462
tree4c101bd83e56daaad3fcf32b3fe040309b5c45b5
parent67e7305e64fea8d15879e9dc3831fc8e31cfe619
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>
dir.h