From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2236 invoked by alias); 16 Jan 2014 20:51:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 2207 invoked by uid 55); 16 Jan 2014 20:51:00 -0000 From: "neleai at seznam dot cz" To: glibc-bugs@sourceware.org Subject: [Bug libc/16459] endian.h does not define byte-order conversion functions Date: Thu, 16 Jan 2014 20:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: neleai at seznam dot cz X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-01/txt/msg00271.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=16459 --- Comment #3 from Ondrej Bilka --- There is flexibility that we could use a function-like macro instead function. If this needs fixing then by changing pattern # define htobe64(x) __bswap_64 (x) # define htole64(x) (x) to # define htobe64 __bswap_64 # define htole64 __bkeep_64 where __bkeep_64 is a identity function like static uint64_t __bkeep_64 (uint64_t x) { return x; } -- You are receiving this mail because: You are on the CC list for the bug.