OSDN Git Service

refs.h: add forward declaration for structs used in this file
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sat, 18 Mar 2017 02:03:11 +0000 (09:03 +0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 18 Mar 2017 17:32:22 +0000 (10:32 -0700)
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.h

diff --git a/refs.h b/refs.h
index 3df0d45..2d6b626 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -1,6 +1,10 @@
 #ifndef REFS_H
 #define REFS_H
 
+struct object_id;
+struct strbuf;
+struct string_list;
+
 /*
  * Resolve a reference, recursively following symbolic refererences.
  *