Changeset fc11b8a in mainline


Ignore:
Timestamp:
2009-01-22T07:47:05Z (16 years ago)
Author:
Tim Post <echo@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4cc0c9ee
Parents:
721d3a27
Message:

Get rid of cli_restricted and cli_interactive

Location:
uspace/app/bdsh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/input.c

    r721d3a27 rfc11b8a  
    4343#include "exec.h"
    4444
    45 extern volatile unsigned int cli_interactive;
    46 
    47 /* Not exposed in input.h */
    48 static void cli_restricted(char *);
    4945static void read_line(char *, int);
    50 
    51 /* More than a macro than anything */
    52 static void cli_restricted(char *cmd)
    53 {
    54         printf("%s is not available in %s mode\n", cmd,
    55                 cli_interactive ? "interactive" : "non-interactive");
    56 
    57         return;
    58 }
    5946
    6047/* Tokenizes input from console, sees if the first word is a built-in, if so
  • uspace/app/bdsh/scli.c

    r721d3a27 rfc11b8a  
    4646 * should be aware of. */
    4747volatile unsigned int cli_quit = 0;
    48 volatile unsigned int cli_interactive = 1;
    4948volatile unsigned int cli_verbocity = 1;
    5049
Note: See TracChangeset for help on using the changeset viewer.