svn commit: r327454 - head/sys/dev/vt/colors

Oleksandr Tymoshenko gonzo at FreeBSD.org
Sun Dec 31 23:40:07 UTC 2017


Author: gonzo
Date: Sun Dec 31 23:40:06 2017
New Revision: 327454
URL: https://svnweb.freebsd.org/changeset/base/327454

Log:
  Fix GCC build broken by r32744
  
  Indicate in function declaration that vt_palette_init does not take any arguments

Modified:
  head/sys/dev/vt/colors/vt_termcolors.c

Modified: head/sys/dev/vt/colors/vt_termcolors.c
==============================================================================
--- head/sys/dev/vt/colors/vt_termcolors.c	Sun Dec 31 22:43:24 2017	(r327453)
+++ head/sys/dev/vt/colors/vt_termcolors.c	Sun Dec 31 23:40:06 2017	(r327454)
@@ -144,7 +144,7 @@ vt_parse_rgb_triplet(const char *rgb, unsigned char *r
 }
 
 static void
-vt_palette_init()
+vt_palette_init(void)
 {
 	int i;
 	char rgb[32];


More information about the svn-src-head mailing list