Changeset c64e4ed4 in rtems for c/src/libmisc/error


Ignore:
Timestamp:
01/15/96 21:50:28 (28 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a625ccd
Parents:
5c491aef
Message:

updates from Tony Bennett for PA and UNIX ports

Location:
c/src/libmisc/error
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/libmisc/error/error.c

    r5c491aef rc64e4ed4  
    11/*
    2  *      @(#)error.c     1.2 - 95/08/02
     2 *      @(#)error.c     1.6 - 95/12/12
    33 *     
    44 *
    5  * report errors and panics to RTEMS' stderr.
    6  * Currently just used by RTEMS monitor.
    7  *
     5 *  report errors and panics to RTEMS' stderr.
     6 *  Currently just used by RTEMS monitor.
    87 *
    98 *  $Id$
     
    9897
    9998
    100 char *
     99const char *
    101100rtems_status_text(
    102101    rtems_status_code status
     
    109108static int rtems_verror(
    110109    unsigned32   error_flag,
    111     char        *printf_format,
     110    const char   *printf_format,
    112111    va_list      arglist
    113112)
     
    182181int rtems_error(
    183182    int   error_flag,
    184     char *printf_format,
     183    const char *printf_format,
    185184    ...
    186185  )
     
    201200
    202201void rtems_panic(
    203     char *printf_format,
     202    const char *printf_format,
    204203    ...
    205204  )
  • c/src/libmisc/error/error.h

    r5c491aef rc64e4ed4  
     1
    12/*
    2  *      @(#)error.h     1.1 - 95/08/02
     3 *      @(#)error.h     1.3 - 95/10/25
    34 *     
    45 *
     
    78 *  $Id$
    89 */
     10
     11#ifndef __RTEMS_ERROR_h
     12#define __RTEMS_ERROR_h
    913
    1014/*
     
    1923                             RTEMS_ERROR_PANIC) /* all */
    2024
    21 char *rtems_status_text(rtems_status_code);
    22 int   rtems_error(int error_code, char *printf_format, ...);
    23 void  rtems_panic(char *printf_format, ...);
     25const char *rtems_status_text(rtems_status_code);
     26int   rtems_error(int error_code, const char *printf_format, ...);
     27void  rtems_panic(const char *printf_format, ...);
    2428
    2529extern int rtems_panic_in_progress;
    2630
     31#endif
     32/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.