Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 23:40:06 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r327454 - head/sys/dev/vt/colors
Message-ID:  <201712312340.vBVNe6a8007051@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712312340.vBVNe6a8007051>