diff options
Diffstat (limited to 'c/src/tests/sptests/spsize/getint.c')
-rw-r--r-- | c/src/tests/sptests/spsize/getint.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/c/src/tests/sptests/spsize/getint.c b/c/src/tests/sptests/spsize/getint.c deleted file mode 100644 index f6f5f61f16..0000000000 --- a/c/src/tests/sptests/spsize/getint.c +++ /dev/null @@ -1,31 +0,0 @@ -/* getint - * - * This routine reads and returns an integer. - * It assumes decimal. - * - * Input parameters: NONE - * - * Output parameters: - * returns - number read - * - * 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 <rtems.h> -#include <stdio.h> -#include <stdlib.h> - -int getint( void ) -{ - char buff[16]; - - gets(buff); - return atoi(buff); -} |