Date: Mon, 4 Oct 2010 18:16:38 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libvgl simple.c Message-ID: <201010041816.o94IGxw4088085@repoman.freebsd.org>
index | next in thread | raw e-mail
dim 2010-10-04 18:16:38 UTC
FreeBSD src repository
Modified files:
lib/libvgl simple.c
Log:
SVN rev 213412 on 2010-10-04 18:16:38Z by dim
Change libvgl's set4pixels() and set2lines() functions from plain
'inline' to 'static inline'. Otherwise, a C99 compiler (such as clang)
will output an undefined symbol for those functions in the resulting
object file. (Even gcc will do this, when you use "-std=c99".)
This should fix the "undefined reference to `set4pixels'" errors that
some people were seeing during ports building, when their world was
compiled with clang.
Approved by: rpaulo (mentor)
Revision Changes Path
1.9 +4 -4 src/lib/libvgl/simple.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010041816.o94IGxw4088085>
