/* * Copyright (c) 1999-2000 Tony Givargis. Permission to copy is granted * provided that this header remains intact. This software is provided * with no warranties. * * Version : 2.8 */ /*---------------------------------------------------------------------------*/ #include /*---------------------------------------------------------------------------*/ void sort(unsigned char* buf, unsigned char n) { unsigned char i, j, t; for(i=0; i buf[j] ) { t = buf[i]; buf[i] = buf[j]; buf[j] = t; } } } P0 = 0; } /*---------------------------------------------------------------------------*/ void print(unsigned char* buf, unsigned char n) { char i; for(i=0; i