mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
572 B

  1. ===================================================================
  2. RCS file: /cvsroot/grub/cvsroot/grub/grub/stage2/char_io.c,v
  3. retrieving revision 1.51
  4. retrieving revision 1.52
  5. diff -u -r1.51 -r1.52
  6. --- grub/stage2/char_io.c 2002/12/09 06:27:05 1.51
  7. +++ grub/stage2/char_io.c 2004/03/27 17:02:54 1.52
  8. @@ -1265,3 +1265,9 @@
  9. return dest;
  10. }
  11. #endif /* ! STAGE1_5 */
  12. +
  13. +#ifndef GRUB_UTIL
  14. +# undef memcpy
  15. +/* GCC emits references to memcpy() for struct copies etc. */
  16. +void *memcpy (void *dest, const void *src, int n) __attribute__ ((alias ("grub_memmove")));
  17. +#endif