submodule.h: add extern keyword to functions
commitbd26756112c0b9394f0aea0a77e7f713ffb0cd00
authorStefan Beller <sbeller@google.com>
Tue, 20 Dec 2016 23:20:09 +0000 (20 15:20 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 27 Dec 2016 22:19:35 +0000 (27 14:19 -0800)
tree1db00c888c380f71d5a809c776643cc960241342
parent7c4be458b1c7ba81b0cc63d76a144261eb2395be
submodule.h: add extern keyword to functions

As the upcoming series will add a lot of functions to the submodule
header, let's first make the header consistent to the rest of the project
by adding the extern keyword to functions.

As per the CodingGuidelines we try to stay below 80 characters per line,
so adapt all those functions to stay below 80 characters that are already
using more than one line.  Those function using just one line are better
kept in one line than breaking them up into multiple lines just for the
goal of staying below the character limit as it makes grepping
for functions easier if they are one liners.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
submodule.h