Changeset e2ea8d7e in mainline for uspace/app/bdsh/errors.h


Ignore:
Timestamp:
2008-08-27T05:36:12Z (16 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b4b7b6
Parents:
b510d52
Message:

Housekeeping list, complete lingering things before they get forgotten:

  • cli_*() now sets a global cli_errno, error functions cleaned up
  • Finish internal cli_*() functions in util.c
  • Don't expose cli_init() or cli_finit()
  • Get rid of unused globals
  • Don't set globals in commands themselves
  • Update README files
  • Fix stale comments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/errors.h

    rb510d52 re2ea8d7e  
    33
    44/* Various error levels */
    5 #define CL_EFATAL   -1
     5#define CL_EFATAL  -1
    66#define CL_EOK     0
    77#define CL_EFAIL   1
     
    1313#define CL_EEXEC   7
    1414#define CL_EEXISTS 8
     15#define CL_ETOOBIG 9
    1516
    16 extern char *err2str(int);
     17/* Just like 'errno' */
     18extern volatile int cli_errno;
     19
    1720extern void cli_error(int, const char *, ...);
    18 extern void cli_verbose(const char *, ...);
     21
    1922#endif
Note: See TracChangeset for help on using the changeset viewer.