grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Do not mess with libc's prototypes


From: Marco Gerards
Subject: Re: [PATCH] Do not mess with libc's prototypes
Date: Wed, 13 Aug 2008 12:21:07 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

address@hidden writes:

> Due to some more breakage, here's some more patch:
>
> According to POSIX memmove and memcpy can actually be macros or whatever
> (IIRC). We'd better not play with those in code that uses libc's headers
> and is to be linked with libc.
>
> 2008-08-08  Lubomir Rintel  <address@hidden>
>
>         * include/grub/misc.h: Surround memmove and memcpy prototypes with
>         #ifndef GRUB_UTIL
>         * kern/misc.c: Surround memmove, memcpy and memset prototypes with
>         #ifndef GRUB_UTIL

This is not for GRUB_UTIL, so please don't do this.  Perhaps your
problem can be fixed in another way.  IIRC, this was added because on
the PPC, memcpy was required by libgcc, which is used there...

--
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]