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.

30 lines
1.0 KiB

  1. This fixes the error:
  2. In file included from mutt_menu.h:23,
  3. from addrbook.c:20:
  4. keymap.h:83: error: array type has incomplete element type
  5. diff -dur mutt-1.4.2.1/keymap.c src.mutt.1129843324.3091.4058436413/mutt-1.4.2.1/keymap.c
  6. --- mutt-1.4.2.1/keymap.c 2001-10-16 16:29:27.000000000 +0200
  7. +++ src.mutt.1129843324.3091.4058436413/mutt-1.4.2.1/keymap.c 2005-10-20 23:45:08.000000000 +0200
  8. @@ -28,7 +28,7 @@
  9. #include "functions.h"
  10. -struct mapping_t Menus[] = {
  11. +struct mapping_t *Menus = {
  12. { "alias", MENU_ALIAS },
  13. { "attach", MENU_ATTACH },
  14. { "browser", MENU_FOLDER },
  15. diff -dur mutt-1.4.2.1/keymap.h src.mutt.1129843324.3091.4058436413/mutt-1.4.2.1/keymap.h
  16. --- mutt-1.4.2.1/keymap.h 2001-09-11 13:20:34.000000000 +0200
  17. +++ src.mutt.1129843324.3091.4058436413/mutt-1.4.2.1/keymap.h 2005-10-20 23:44:07.000000000 +0200
  18. @@ -80,7 +80,7 @@
  19. /* dokey() records the last real key pressed */
  20. extern int LastKey;
  21. -extern struct mapping_t Menus[];
  22. +extern struct mapping_t *Menus;
  23. struct binding_t
  24. {