From owner-cvs-src-old@FreeBSD.ORG Mon Oct 4 18:16:59 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A0B0106564A for ; Mon, 4 Oct 2010 18:16:59 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 48ED08FC20 for ; Mon, 4 Oct 2010 18:16:59 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o94IGxqH088086 for ; Mon, 4 Oct 2010 18:16:59 GMT (envelope-from dim@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o94IGxw4088085 for cvs-src-old@freebsd.org; Mon, 4 Oct 2010 18:16:59 GMT (envelope-from dim@repoman.freebsd.org) Message-Id: <201010041816.o94IGxw4088085@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to dim@repoman.freebsd.org using -f From: Dimitry Andric Date: Mon, 4 Oct 2010 18:16:38 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libvgl simple.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 18:16:59 -0000 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