Changeset 769f47a in rtems


Ignore:
Timestamp:
Feb 28, 2003, 7:29:21 AM (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f0daa4c
Parents:
9c59c2d9
Message:

Merger from rtems-4-6-branch.

Location:
cpukit/libmisc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libmisc/ChangeLog

    r9c59c2d9 r769f47a  
     12003-02-18      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        capture/capture-cli.c: Add proper definition to avoid compiler
     4        warnings. Apply int = getchar().
     5
    162003-02-14      Till Straumann <strauman@slac.stanford.edu>
    27
  • cpukit/libmisc/capture/capture-cli.c

    r9c59c2d9 r769f47a  
    5959
    6060static void
    61 rtems_capture_cli_open (int argc, char **argv)
     61rtems_capture_cli_open (
     62  int argc,
     63  char **argv,
     64  unsigned32 command_arg,
     65  boolean verbose )
    6266{
    6367  rtems_unsigned32  size = 0;
     
    127131
    128132static void
    129 rtems_capture_cli_close (int argc, char **argv)
     133rtems_capture_cli_close (
     134  int argc,
     135  char **argv,
     136  unsigned32 command_arg,
     137  boolean verbose )
    130138{
    131139  rtems_status_code sc;
     
    152160
    153161static void
    154 rtems_capture_cli_enable (int argc, char **argv)
     162rtems_capture_cli_enable (
     163  int argc,
     164  char **argv,
     165  unsigned32 command_arg,
     166  boolean verbose )
    155167{
    156168  rtems_status_code sc;
     
    177189
    178190static void
    179 rtems_capture_cli_disable (int argc, char **argv)
     191rtems_capture_cli_disable (
     192  int argc,
     193  char **argv,
     194  unsigned32 command_arg,
     195  boolean verbose )
    180196{
    181197  rtems_status_code sc;
     
    202218
    203219static void
    204 rtems_capture_cli_task_list (int argc, char **argv)
     220rtems_capture_cli_task_list (
     221  int argc,
     222  char **argv,
     223  unsigned32 command_arg,
     224  boolean verbose )
    205225{
    206226  rtems_task_priority   ceiling = rtems_capture_watch_get_ceiling ();
     
    434454
    435455static void
    436 rtems_capture_cli_task_load (int argc, char **argv)
     456rtems_capture_cli_task_load (
     457  int argc,
     458  char **argv,
     459  unsigned32 command_arg,
     460  boolean verbose )
    437461{
    438462  rtems_status_code   sc;
     
    473497  for (;;)
    474498  {
    475     char c = getchar ();
     499    int c = getchar ();
    476500
    477501    if ((c == '\r') || (c == '\n'))
     
    501525
    502526static void
    503 rtems_capture_cli_watch_list (int argc, char **argv)
     527rtems_capture_cli_watch_list (
     528  int argc,
     529  char **argv,
     530  unsigned32 command_arg,
     531  boolean verbose )
    504532{
    505533  rtems_capture_control_t* control = rtems_capture_get_control_list ();
     
    623651
    624652static void
    625 rtems_capture_cli_watch_add (int argc, char **argv)
     653rtems_capture_cli_watch_add (
     654  int argc,
     655  char **argv,
     656  unsigned32 command_arg,
     657  boolean verbose )
    626658{
    627659  rtems_status_code sc;
     
    681713
    682714static void
    683 rtems_capture_cli_watch_del (int argc, char **argv)
     715rtems_capture_cli_watch_del (
     716  int argc,
     717  char **argv,
     718  unsigned32 command_arg,
     719  boolean verbose )
    684720{
    685721  rtems_status_code sc;
     
    738774
    739775static void
    740 rtems_capture_cli_watch_control (int argc, char **argv)
     776rtems_capture_cli_watch_control (
     777  int argc,
     778  char **argv,
     779  unsigned32 command_arg,
     780  boolean verbose )
    741781{
    742782  rtems_status_code sc;
     
    800840
    801841static void
    802 rtems_capture_cli_watch_global (int argc, char **argv)
     842rtems_capture_cli_watch_global (
     843  int argc,
     844  char **argv,
     845  unsigned32 command_arg,
     846  boolean verbose )
    803847{
    804848  rtems_status_code sc;
     
    850894
    851895static void
    852 rtems_capture_cli_watch_ceiling (int argc, char **argv)
     896rtems_capture_cli_watch_ceiling (
     897  int argc,
     898  char **argv,
     899  unsigned32 command_arg,
     900  boolean verbose )
    853901{
    854902  rtems_status_code   sc;
     
    897945
    898946static void
    899 rtems_capture_cli_watch_floor (int argc, char **argv)
     947rtems_capture_cli_watch_floor (
     948  int argc,
     949  char **argv,
     950  unsigned32 command_arg,
     951  boolean verbose )
    900952{
    901953  rtems_status_code   sc;
     
    944996
    945997static void
    946 rtems_capture_cli_trigger_set (int argc, char **argv)
     998rtems_capture_cli_trigger_set (
     999  int argc,
     1000  char **argv,
     1001  unsigned32 command_arg,
     1002  boolean verbose )
    9471003{
    9481004  rtems_status_code       sc;
     
    10961152
    10971153static void
    1098 rtems_capture_cli_trace_records (int argc, char **argv)
     1154rtems_capture_cli_trace_records (
     1155  int argc,
     1156  char **argv,
     1157  unsigned32 command_arg,
     1158  boolean verbose )
    10991159{
    11001160  rtems_status_code       sc;
     
    12171277
    12181278static void
    1219 rtems_capture_cli_flush (int argc, char **argv)
     1279rtems_capture_cli_flush (
     1280  int argc,
     1281  char **argv,
     1282  unsigned32 command_arg,
     1283  boolean verbose )
    12201284{
    12211285  rtems_status_code sc;
     
    12511315    "usage: copen [-i] size\n",
    12521316    0,
    1253     (void*) rtems_capture_cli_open,
     1317    rtems_capture_cli_open,
    12541318    0,
    12551319    0
     
    12591323    "usage: cclose\n",
    12601324    0,
    1261     (void*) rtems_capture_cli_close,
     1325    rtems_capture_cli_close,
    12621326    0,
    12631327    0
     
    12671331    "usage: cenable\n",
    12681332    0,
    1269     (void*) rtems_capture_cli_enable,
     1333    rtems_capture_cli_enable,
    12701334    0,
    12711335    0
     
    12751339    "usage: cdisable\n",
    12761340    0,
    1277     (void*) rtems_capture_cli_disable,
     1341    rtems_capture_cli_disable,
    12781342    0,
    12791343    0
     
    12831347    "usage: ctlist \n",
    12841348    0,
    1285     (void*) rtems_capture_cli_task_list,
     1349    rtems_capture_cli_task_list,
    12861350    0,
    12871351    0
     
    12911355    "usage: ctload \n",
    12921356    0,
    1293     (void*) rtems_capture_cli_task_load,
     1357    rtems_capture_cli_task_load,
    12941358    0,
    12951359    0
     
    12991363    "usage: cwlist\n",
    13001364    0,
    1301     (void*) rtems_capture_cli_watch_list,
     1365    rtems_capture_cli_watch_list,
    13021366    0,
    13031367    0
     
    13071371    "usage: cwadd [task name] [id]\n",
    13081372    0,
    1309     (void*) rtems_capture_cli_watch_add,
     1373    rtems_capture_cli_watch_add,
    13101374    0,
    13111375    0
     
    13151379    "usage: cwdel [task name] [id]\n",
    13161380    0,
    1317     (void*) rtems_capture_cli_watch_del,
     1381    rtems_capture_cli_watch_del,
    13181382    0,
    13191383    0
     
    13231387    "usage: cwctl [task name] [id] on/off\n",
    13241388    0,
    1325     (void*) rtems_capture_cli_watch_control,
     1389    rtems_capture_cli_watch_control,
    13261390    0,
    13271391    0
     
    13311395    "usage: cwglob on/off\n",
    13321396    0,
    1333     (void*) rtems_capture_cli_watch_global,
     1397    rtems_capture_cli_watch_global,
    13341398    0,
    13351399    0
     
    13391403    "usage: cwceil priority\n",
    13401404    0,
    1341     (void*) rtems_capture_cli_watch_ceiling,
     1405    rtems_capture_cli_watch_ceiling,
    13421406    0,
    13431407    0
     
    13471411    "usage: cwfloor priority\n",
    13481412    0,
    1349     (void*) rtems_capture_cli_watch_floor,
     1413    rtems_capture_cli_watch_floor,
    13501414    0,
    13511415    0
     
    13551419    "usage: ctrace [-c] [-r records]\n",
    13561420    0,
    1357     (void*) rtems_capture_cli_trace_records,
     1421    rtems_capture_cli_trace_records,
    13581422    0,
    13591423    0
     
    13631427    "usage: ctrig type [from name] [from id] [to name] [to id]\n",
    13641428    0,
    1365     (void*) rtems_capture_cli_trigger_set,
     1429    rtems_capture_cli_trigger_set,
    13661430    0,
    13671431    0
     
    13711435    "usage: cflush [-n]\n",
    13721436    0,
    1373     (void*) rtems_capture_cli_flush,
     1437    rtems_capture_cli_flush,
    13741438    0,
    13751439    0
Note: See TracChangeset for help on using the changeset viewer.