2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
* include/grub/powerpc/libgcc.h (memset): Remove function prototype. * include/grub/sparc64/libgcc.h (memset): Likewise. * include/grub/misc.h (memset, memcmp): New function prototypes.
This commit is contained in:
parent
fb26abc22b
commit
cdb308b0e1
4 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
|
||||
|
||||
* include/grub/powerpc/libgcc.h (memset): Remove function prototype.
|
||||
* include/grub/sparc64/libgcc.h (memset): Likewise.
|
||||
* include/grub/misc.h (memset, memcmp): New function prototypes.
|
||||
|
||||
2009-10-25 Robert Millan <rmh.grub@aybabtu.com>
|
||||
|
||||
* fs/cpio.c [MODE_USTAR]: Finish `tar' module instead of
|
||||
|
|
|
@ -76,8 +76,10 @@ grub_strncat (char *dest, const char *src, int c)
|
|||
|
||||
/* Prototypes for aliases. */
|
||||
#if !defined (GRUB_UTIL) || !defined (APPLE_CC)
|
||||
int EXPORT_FUNC(memcmp) (const void *s1, const void *s2, grub_size_t n);
|
||||
void *EXPORT_FUNC(memmove) (void *dest, const void *src, grub_size_t n);
|
||||
void *EXPORT_FUNC(memcpy) (void *dest, const void *src, grub_size_t n);
|
||||
void EXPORT_FUNC (memset) (void);
|
||||
#endif
|
||||
|
||||
int EXPORT_FUNC(grub_memcmp) (const void *s1, const void *s2, grub_size_t n);
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
void EXPORT_FUNC (memset) (void);
|
||||
void EXPORT_FUNC (__ashldi3) (void);
|
||||
void EXPORT_FUNC (__ashrdi3) (void);
|
||||
void EXPORT_FUNC (__lshrdi3) (void);
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
|
||||
#include <config.h>
|
||||
|
||||
void EXPORT_FUNC (memset) (void);
|
||||
|
||||
#ifdef HAVE___BSWAPSI2
|
||||
typedef int SItype __attribute__ ((mode (SI)));
|
||||
SItype EXPORT_FUNC (__bswapsi2) (SItype);
|
||||
|
|
Loading…
Reference in a new issue