Changeset 71c012af in rtems


Ignore:
Timestamp:
Jul 4, 2010, 2:53:47 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
9cdd944
Parents:
b637dbb
Message:

2010-07-04 Joel Sherrill <joel.sherrill@…>

  • libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c, libcsupport/src/times.c, libcsupport/src/libio_init.c, libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c, libcsupport/src/mount.c, libcsupport/src/rewinddir.c, libcsupport/src/seekdir.c, libcsupport/src/telldir.c, libcsupport/src/unmount.c, libfs/src/dosfs/fat.c, libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c, libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c, telnetd/telnetd.c: Remove include of assert.h when it is not needed.
Location:
cpukit
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rb637dbb r71c012af  
     12010-07-04      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c,
     4        libcsupport/src/__times.c, libcsupport/src/libio_init.c,
     5        libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c,
     6        libcsupport/src/mount.c, libcsupport/src/rewinddir.c,
     7        libcsupport/src/seekdir.c, libcsupport/src/telldir.c,
     8        libcsupport/src/unmount.c, libfs/src/dosfs/fat.c,
     9        libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c,
     10        libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
     11        libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
     12        libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c,
     13        libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c,
     14        libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c,
     15        telnetd/telnetd.c: Remove include of assert.h when it is not needed.
     16
    1172010-07-03      Joel Sherrill <joel.sherrill@oarcorp.com>
    218
  • cpukit/libblock/include/rtems/ide_part_table.h

    rb637dbb r71c012af  
    2222#define _RTEMS_IDE_PART_TABLE_H
    2323
    24 #include <assert.h>
    2524#include <rtems/chain.h>
    2625#include <stdio.h>
  • cpukit/libblock/src/bdbuf.c

    rb637dbb r71c012af  
    3535#include <limits.h>
    3636#include <errno.h>
    37 #include <assert.h>
    3837#include <stdio.h>
    3938#include <string.h>
  • cpukit/libcsupport/src/__times.c

    rb637dbb r71c012af  
    22 *  times() - POSIX 1003.1b 4.5.2 - Get Process Times
    33 *
    4  *  COPYRIGHT (c) 1989-2009.
     4 *  COPYRIGHT (c) 1989-2010.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    2222#include <sys/time.h>
    2323#include <errno.h>
    24 #include <assert.h>
    2524#include <rtems/seterr.h>
    2625#ifndef __RTEMS_USE_TICKS_FOR_STATISTICS__
  • cpukit/libcsupport/src/libio_init.c

    rb637dbb r71c012af  
    44 *  POSIX system calls like open(), read, fstat(), etc.
    55 *
    6  *  COPYRIGHT (c) 1989-1999.
     6 *  COPYRIGHT (c) 1989-2010.
    77 *  On-Line Applications Research Corporation (OAR).
    88 *
     
    2424#include <stdio.h>                      /* O_RDONLY, et.al. */
    2525#include <fcntl.h>                      /* O_RDONLY, et.al. */
    26 #include <assert.h>
    2726#include <errno.h>
    2827
  • cpukit/libcsupport/src/mallocfreespace.c

    rb637dbb r71c012af  
    33 *
    44 *
    5  *  COPYRIGHT (c) 1989-2007.
     5 *  COPYRIGHT (c) 1989-2010.
    66 *  On-Line Applications Research Corporation (OAR).
    77 *
     
    2525#include <stdlib.h>
    2626#include <sys/types.h>
    27 #include <assert.h>
    2827#include <errno.h>
    2928#include <string.h>
  • cpukit/libcsupport/src/mount-mgr.c

    rb637dbb r71c012af  
    2929#include <stdlib.h>
    3030#include <string.h>
    31 #include <assert.h>
    3231
    3332#include <rtems/libio_.h>
  • cpukit/libcsupport/src/mount.c

    rb637dbb r71c012af  
    88 *  XXX unmount should be required.
    99 *
    10  *  COPYRIGHT (c) 1989-1999.
     10 *  COPYRIGHT (c) 1989-2010.
    1111 *  On-Line Applications Research Corporation (OAR).
    1212 *
     
    3333#include <stdlib.h>
    3434#include <string.h>
    35 #include <assert.h>
    3635
    3736#include <rtems/libio_.h>
  • cpukit/libcsupport/src/rewinddir.c

    rb637dbb r71c012af  
    22 *  rewinddir() - POSIX 1003.1b - XXX
    33 *
    4  *  COPYRIGHT (c) 1989-1999.
     4 *  COPYRIGHT (c) 1989-2010.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    1818
    1919#include <sys/types.h>
    20 #include <assert.h>
    2120#include <dirent.h>
    2221#include <stdio.h>
  • cpukit/libcsupport/src/seekdir.c

    rb637dbb r71c012af  
    22 *  seekdir() - POSIX 1003.1b - XXX
    33 *
    4  *  COPYRIGHT (c) 1989-1999.
     4 *  COPYRIGHT (c) 1989-2010.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    1818
    1919#include <sys/param.h>
    20 #include <assert.h>
    2120#include <dirent.h>
    2221#include <stdio.h>
  • cpukit/libcsupport/src/telldir.c

    rb637dbb r71c012af  
    22 *  telldir() - XXX
    33 *
    4  *  COPYRIGHT (c) 1989-1999.
     4 *  COPYRIGHT (c) 1989-2010.
    55 *  On-Line Applications Research Corporation (OAR).
    66 *
     
    1818
    1919#include <sys/param.h>
    20 #include <assert.h>
    2120#include <dirent.h>
    2221#include <stdlib.h>
     
    4241
    4342  iop = rtems_libio_iop( dirp->dd_fd );
    44 
    45   if (iop == NULL)
    46      assert(0);
     43  if ( !iop )
     44    rtems_set_errno_and_return_minus_one( EBADF );
    4745
    4846  return (long)( iop->offset );
  • cpukit/libcsupport/src/unmount.c

    rb637dbb r71c012af  
    77 *  into the file system name space.
    88 *
    9  *  COPYRIGHT (c) 1989-1999.
     9 *  COPYRIGHT (c) 1989-2010.
    1010 *  On-Line Applications Research Corporation (OAR).
    1111 *
     
    2828#include <stdlib.h>
    2929#include <string.h>
    30 #include <assert.h>
    3130
    3231#include <rtems/libio_.h>
  • cpukit/libfs/src/dosfs/fat.c

    rb637dbb r71c012af  
    2020#include <errno.h>
    2121#include <stdlib.h>
    22 #include <assert.h>
    2322
    2423#include <rtems/libio_.h>
  • cpukit/libfs/src/dosfs/fat_fat_operations.c

    rb637dbb r71c012af  
    2020#include <errno.h>
    2121#include <stdlib.h>
    22 #include <assert.h>
    2322
    2423#include <rtems/libio_.h>
  • cpukit/libfs/src/dosfs/msdos_create.c

    rb637dbb r71c012af  
    1717
    1818#include <errno.h>
    19 #include <assert.h>
    2019#include <stdio.h>
    2120#include <stdlib.h>
  • cpukit/libfs/src/dosfs/msdos_dir.c

    rb637dbb r71c012af  
    1818#include <stdlib.h>
    1919#include <unistd.h>
    20 #include <assert.h>
    2120#include <errno.h>
    2221#include <rtems/libio_.h>
  • cpukit/libfs/src/dosfs/msdos_eval.c

    rb637dbb r71c012af  
    2222#include <errno.h>
    2323#include <stdlib.h>
    24 #include <assert.h>
    2524
    2625#include <rtems/libio_.h>
  • cpukit/libfs/src/dosfs/msdos_file.c

    rb637dbb r71c012af  
    1616
    1717#include <stdlib.h>
    18 #include <assert.h>
    1918#include <errno.h>
    2019
  • cpukit/libfs/src/dosfs/msdos_format.c

    rb637dbb r71c012af  
    3434#include <stdio.h>
    3535#include <ctype.h>
    36 #include <assert.h>
    3736
    3837#include <rtems/libio_.h>
  • cpukit/libfs/src/dosfs/msdos_fsunmount.c

    rb637dbb r71c012af  
    2222#include <stdio.h>
    2323
    24 #include <assert.h>
    2524#include <rtems.h>
    2625#include <rtems/libio_.h>
  • cpukit/libfs/src/dosfs/msdos_initsupp.c

    rb637dbb r71c012af  
    2222#include <stdio.h>
    2323
    24 #include <assert.h>
    2524#include <rtems.h>
    2625#include <rtems/libio_.h>
  • cpukit/libfs/src/dosfs/msdos_rename.c

    rb637dbb r71c012af  
    1616
    1717#include <errno.h>
    18 #include <assert.h>
    1918#include <stdio.h>
    2019#include <stdlib.h>
  • cpukit/libmisc/cpuuse/cpuusagereport.c

    rb637dbb r71c012af  
    1818#include <rtems.h>
    1919
    20 #include <assert.h>
    2120#include <string.h>
    2221#include <stdlib.h>
  • cpukit/libmisc/shell/vis.c

    rb637dbb r71c012af  
    7878#include <sys/types.h>
    7979
    80 #include <assert.h>
    8180#include <vis.h>
    8281#include <stdlib.h>
  • cpukit/libmisc/stackchk/check.c

    rb637dbb r71c012af  
    3434#define DONT_USE_FATAL_EXTENSION
    3535
    36 #include <assert.h>
    3736#include <string.h>
    3837#include <stdlib.h>
  • cpukit/sapi/src/posixapi.c

    rb637dbb r71c012af  
    44 *  NOTE:
    55 *
    6  *  COPYRIGHT (c) 1989-2008.
     6 *  COPYRIGHT (c) 1989-2010.
    77 *  On-Line Applications Research Corporation (OAR).
    88 *
     
    1717#include "config.h"
    1818#endif
    19 
    20 #include <assert.h>
    2119
    2220/*
  • cpukit/telnetd/telnetd.c

    rb637dbb r71c012af  
    5555#include <stdlib.h>
    5656#include <stdio.h>
    57 #include <assert.h>
    5857#include <string.h>
    5958#include <syslog.h>
Note: See TracChangeset for help on using the changeset viewer.