Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man9 edid.9: fixes for example code
details: https://anonhg.NetBSD.org/src/rev/9e8cfd8558d9
branches: trunk
changeset: 788864:9e8cfd8558d9
user: tcort <tcort%NetBSD.org@localhost>
date: Thu Jul 25 14:10:30 2013 +0000
description:
edid.9: fixes for example code
- 'struct edid_info' in edidvar.h uses 'struct videomode' so
videomode.h needs to be included too.
- edid_print takes a pointer to 'struct edid_info' so add the & operator.
OK by wiz@
diffstat:
share/man/man9/edid.9 | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r 23592f2a45fa -r 9e8cfd8558d9 share/man/man9/edid.9
--- a/share/man/man9/edid.9 Thu Jul 25 12:25:23 2013 +0000
+++ b/share/man/man9/edid.9 Thu Jul 25 14:10:30 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: edid.9,v 1.6 2013/07/20 21:39:59 wiz Exp $
+.\" $NetBSD: edid.9,v 1.7 2013/07/25 14:10:30 tcort Exp $
.\"
.\" Copyright 2006 Itronix Inc.
.\" All rights reserved.
@@ -29,13 +29,14 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd May 11, 2006
+.Dd July 24, 2013
.Dt EDID 9
.Os
.Sh NAME
.Nm edid
.Nd VESA Extended Display Identification Data
.Sh SYNOPSIS
+.In dev/videomode/videomode.h
.In dev/videomode/edidvar.h
.In dev/videomode/edidreg.h
.Ft int
@@ -118,7 +119,7 @@
...
if ((ddc_read_edid(tag, buffer, 128) == 0) &&
(edid_parse(buffer, &info) == 0))
- edid_print(info);
+ edid_print(&info);
...
.Ed
.Sh SEE ALSO
Home |
Main Index |
Thread Index |
Old Index