Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2019 21:49:48 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344308 - head/sys/teken
Message-ID:  <201902192149.x1JLnmFf023150@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Tue Feb 19 21:49:48 2019
New Revision: 344308
URL: https://svnweb.freebsd.org/changeset/base/344308

Log:
  Add missing __unused attributes to unused function arguments.
  
  This fixes the userspace build of libteken.

Modified:
  head/sys/teken/teken_subr.h

Modified: head/sys/teken/teken_subr.h
==============================================================================
--- head/sys/teken/teken_subr.h	Tue Feb 19 21:33:02 2019	(r344307)
+++ head/sys/teken/teken_subr.h	Tue Feb 19 21:49:48 2019	(r344308)
@@ -372,7 +372,7 @@ teken_subr_cursor_up(teken_t *t, unsigned int nrows)
 }
 
 static void
-teken_subr_set_cursor_style(teken_t *t, unsigned int style)
+teken_subr_set_cursor_style(teken_t *t __unused, unsigned int style __unused)
 {
 
 	/* TODO */



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