home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1740 / space.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-28  |  553 b   |  31 lines

  1. /*
  2.     $Id: space.c,v 2.5 90/08/26 11:35:49 sw Exp $
  3. */
  4.  
  5. #include "config.h"
  6.  
  7. #ifdef CLED
  8.  
  9. #include "sys/types.h"
  10. #include "sys/tty.h"
  11. #include "sys/termio.h"
  12. #include "sys/cledio.h"
  13. #include "sys/cled.h"
  14.  
  15. #if CLED_CNTLS != 1
  16. #   include "ERROR: cled must have just one controller"
  17. #endif
  18.  
  19. #if !MULTI_LB || !defined NCLEPROCS
  20. #   undef NCLEPROCS
  21. #   define NCLEPROCS        1
  22. #endif
  23.  
  24. int        cle_ttys = {CLED_UNITS};
  25. int        cle_leds = {CLED_UNITS*NCLEPROCS};
  26.  
  27. struct led_buf   cle_buffers[CLED_UNITS];
  28. struct tty_buf   cle_ttybuf[CLED_UNITS*NCLEPROCS];
  29.  
  30. #endif
  31.