git-compat-util: move wrapper.c funcs to its header
commit382f6940afc4f2c5f1e939d0ca8ba835056cf2d0
authorCalvin Wan <calvinwan@google.com>
Wed, 5 Jul 2023 17:09:20 +0000 (5 17:09 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Jul 2023 18:41:18 +0000 (5 11:41 -0700)
treeba01c3201c6130f581a4a53ed2bdbb1e233b8330
parentfda5d9595d5172fcbba34742e92d6c7ed4cbe5ef
git-compat-util: move wrapper.c funcs to its header

Since the functions in wrapper.c are widely used across the codebase,
include it by default in git-compat-util.h. A future patch will remove
now unnecessary inclusions of wrapper.h from other files.

Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h
wrapper.h