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.

21 lines
657 B

  1. --- a/clients/lcdproc/iface.c
  2. +++ b/clients/lcdproc/iface.c
  3. @@ -32,6 +32,7 @@
  4. #define UNSET_INT -1
  5. #define UNSET_STR "\01"
  6. +IfaceInfo iface[MAX_INTERFACES];
  7. static int iface_count = 0; /* number of interfaces */
  8. static char unit_label[10] = "B"; /* default unit label is Bytes */
  9. --- a/clients/lcdproc/iface.h
  10. +++ b/clients/lcdproc/iface.h
  11. @@ -18,7 +18,7 @@
  12. /** max number of interfaces in multi-interface mode */
  13. #define MAX_INTERFACES 3
  14. -IfaceInfo iface[MAX_INTERFACES]; /* interface info */
  15. +extern IfaceInfo iface[MAX_INTERFACES]; /* interface info */
  16. /** Update screen content */
  17. int iface_screen(int rep, int display, int *flags_ptr);