From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25121 invoked by alias); 28 Jun 2006 07:54:22 -0000 Received: (qmail 25061 invoked by uid 48); 28 Jun 2006 07:54:10 -0000 Date: Wed, 28 Jun 2006 07:54:00 -0000 From: "bart dot vanassche at gmail dot com" To: glibc-bugs@sources.redhat.com Message-ID: <20060628075407.2859.bart.vanassche@gmail.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug libc/2859] New: linux/i2c.h header contains kernel-only definitions X-Bugzilla-Reason: CC Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00132.txt.bz2 List-Id: The header is provided by glibc and is needed from user-space because it contains the definitions of e.g. I2C_TENBIT, I2C_SLAVE, ... However, it contains many declarations and definitions that only make sense when included from within the kernel, and that make no sense in user-space (e.g. i2c_master_send(), struct i2c_driver). Additionally, user-space C source files that include do not compile. -- Summary: linux/i2c.h header contains kernel-only definitions Product: glibc Version: 2.3.3 Status: NEW Severity: normal Priority: P2 Component: libc AssignedTo: drepper at redhat dot com ReportedBy: bart dot vanassche at gmail dot com CC: glibc-bugs at sources dot redhat dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=2859 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.