Pavel Roskin  committed cdda474

[PATCH] Make logerror() and loginfo() static

Make logerror() and loginfo() static

logerror() and loginfo() in daemon.c are never declared and never called
from other files, therefore they should be declared static. Found by

Signed-off-by: Pavel Roskin <>
Signed-off-by: Junio C Hamano <>

  • Participants
  • Parent commits 7d167fe

Comments (0)

Files changed (1)

 	write(2, buf, buflen);
-void logerror(const char *err, ...)
+static void logerror(const char *err, ...)
 	va_list params;
 	va_start(params, err);
-void loginfo(const char *err, ...)
+static void loginfo(const char *err, ...)
 	va_list params;
 	if (!verbose)