Changeset dda9a682 in rtems


Ignore:
Timestamp:
Nov 22, 2004, 10:38:22 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
98031ea
Parents:
f4857b21
Message:

2004-11-22 Ralf Corsepius <ralf_corsepius@…>

  • configure.ac: Remove -ansi to prevent folks from further damaging the code with broken prototypes.
  • putenvtest/init.c: Remove broken putenv prototype.
  • termios/init.c (print_c_cc): Don't loop over NCCS.
Location:
testsuites/libtests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/ChangeLog

    rf4857b21 rdda9a682  
     12004-11-22      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * configure.ac: Remove -ansi to prevent folks from further damaging
     4        the code with broken prototypes.
     5        * putenvtest/init.c: Remove broken putenv prototype.
     6        * termios/init.c (print_c_cc): Don't loop over NCCS.
     7
    182004-09-24      Ralf Corsepius <ralf_corsepius@rtems.org>
    29
  • testsuites/libtests/configure.ac

    rf4857b21 rdda9a682  
    2121RTEMS_PROJECT_ROOT
    2222
    23 RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
     23RTEMS_PROG_CC_FOR_TARGET([-fasm])
    2424
    2525RTEMS_PROG_CXX_FOR_TARGET
  • testsuites/libtests/putenvtest/init.c

    rf4857b21 rdda9a682  
    2626#include <stdio.h>
    2727#include <stdlib.h>
    28 
    29 /* putenv is beyond ANSI so prototype it here */
    30 int putenv(const char *string);
    3128
    3229rtems_task Init(
  • testsuites/libtests/termios/init.c

    rf4857b21 rdda9a682  
    402402void print_c_cc( struct termios * tp )
    403403{
    404   int i;
    405   char * cc_index_names [NCCS] = {
     404  size_t i;
     405  char * cc_index_names [ /* NCCS */ ] = {
    406406    "[VINTR]   ",   /* 0 */
    407407    "[VQUIT]   ",   /* 1 */
     
    425425  };
    426426
    427   for( i = 0; i < NCCS; i++ ) {
     427  for( i = 0; i < sizeof(cc_index_names)/sizeof(char*) ; i++ ) {
    428428    printf( "c_cc%s = 0x%08x\n", cc_index_names[i], tp->c_cc[i] );
    429429  }
Note: See TracChangeset for help on using the changeset viewer.