patch-include_grub_misc_h 795 B

1234567891011121314151617
  1. --- grub-1.97.1.orig/include/grub/misc.h 2009-11-09 16:48:16.000000000 +0100
  2. +++ grub-1.97.1/include/grub/misc.h 2009-11-29 12:07:10.920475755 +0100
  3. @@ -74,14 +74,6 @@ grub_strncat (char *dest, const char *sr
  4. return dest;
  5. }
  6. -/* Prototypes for aliases. */
  7. -#ifndef GRUB_UTIL
  8. -int EXPORT_FUNC(memcmp) (const void *s1, const void *s2, grub_size_t n);
  9. -void *EXPORT_FUNC(memmove) (void *dest, const void *src, grub_size_t n);
  10. -void *EXPORT_FUNC(memcpy) (void *dest, const void *src, grub_size_t n);
  11. -void *EXPORT_FUNC(memset) (void *s, int c, grub_size_t n);
  12. -#endif
  13. -
  14. int EXPORT_FUNC(grub_memcmp) (const void *s1, const void *s2, grub_size_t n);
  15. int EXPORT_FUNC(grub_strcmp) (const char *s1, const char *s2);
  16. int EXPORT_FUNC(grub_strncmp) (const char *s1, const char *s2, grub_size_t n);