home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 23 / AACD 23.iso / AACD / Programming / tek / kn / elate / exec / destroytimer.c < prev    next >
Encoding:
C/C++ Source or Header  |  2001-05-12  |  290 b   |  22 lines

  1.  
  2. #include "tek/kn/elate/exec.h"
  3.  
  4. /* 
  5. **    TEKlib
  6. **    (C) 2001 TEK neoscientists
  7. **    all rights reserved.
  8. **
  9. **    TVOID kn_destroytimer(TKNOB *timer)
  10. **
  11. **    destroy kernel timer.
  12. **
  13. */
  14.  
  15. TVOID kn_destroytimer(TKNOB *timer)
  16. {
  17.     if (sizeof(TKNOB) < sizeof(long))
  18.     {
  19.         kn_free(*((long **) timer));
  20.     }
  21. }
  22.