diff options
Diffstat (limited to 'c/src/tests/sptests/sp13/putbuff.c')
-rw-r--r-- | c/src/tests/sptests/sp13/putbuff.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/c/src/tests/sptests/sp13/putbuff.c b/c/src/tests/sptests/sp13/putbuff.c deleted file mode 100644 index 19c443f07c..0000000000 --- a/c/src/tests/sptests/sp13/putbuff.c +++ /dev/null @@ -1,40 +0,0 @@ -/* Put_buffer - * - * This test routine prints the given buffer. - * buffer. - * - * Input parameters: - * buffer - pointer to message buffer to be printer - * - * Output parameters: NONE - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#include "system.h" - -#define MESSAGE_SIZE (4) - -void Put_buffer( - long *buffer -) -{ - int i; -/* - printf( "%16s", (char *)buffer ); -*/ - for ( i=0 ; i< MESSAGE_SIZE ; i++ ) { - printf( "%c%c%c%c", (char) (buffer[i] >> 24), - (char) (buffer[i] >> 16 & 0xff), - (char) (buffer[i] >> 8 & 0xff), - (char) (buffer[i] >> 0 & 0xff) ); - } - -} |