author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | |
Thu, 7 Apr 2011 18:26:23 +0000 (19:26 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Apr 2011 17:35:25 +0000 (10:35 -0700) | ||
commit | c8f1444d9e708e3994c74c180194c43bf1588b65 | |
tree | 1cbdfa62863ce062e131bdce8a181b037bb0dc39 | tree | snapshot |
parent | d27da38a19d0c21702a012689f256b83545f2e7f | commit | diff |
sparse: Fix an "symbol 'format_subject' not declared" warning
In order to fix the warning, we add an extern declaration for this
function to the "commit.h" header file, along with all other non-
static functions defined in pretty.c. Also, we remove the function
declaration from builtin/shortlog.c, since it is no longer needed.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
In order to fix the warning, we add an extern declaration for this
function to the "commit.h" header file, along with all other non-
static functions defined in pretty.c. Also, we remove the function
declaration from builtin/shortlog.c, since it is no longer needed.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/shortlog.c | diff | blob | history | |
commit.h | diff | blob | history |