diff options
author | 2006-06-21 07:20:16 +1000 | |
---|---|---|
committer | 2006-06-21 07:20:16 +1000 | |
commit | 7268a4a4e0ddb8ed10df20005cd78c90e900802f (patch) | |
tree | 40f66a1a592742702fd48643afb2b29433e63fec /builtin.h | |
parent | 51c6c5ea4944f60aeaf755db4b98462df5e51a45 (diff) |
Various code polish, including minor rearangement of builtin code to export fewer functions, a few additional input checks, and removal of the unneeded, exported error_max variable
darcs-hash:20060620212016-ac50b-f76c10eea23fab14a648ea83ed0c83a171b8fef9.gz
Diffstat (limited to 'builtin.h')
-rw-r--r-- | builtin.h | 22 |
1 files changed, 0 insertions, 22 deletions
@@ -136,22 +136,6 @@ void builtin_pop_io(); */ const wchar_t *builtin_get_desc( const wchar_t *b ); -/** - Counts the number of non null pointers in the specified array -*/ -int builtin_count_args( wchar_t **argv ); - -/** - Print help for the specified builtin. If \c b is sb_err, also print - the line information - - If \c b is the buffer representing standard error, and the help - message is about to be printed to an interactive screen, it may be - shortened to fit the screen. - -*/ -void builtin_print_help( wchar_t *cmd, string_buffer_t *b ); - /** Slightly kludgy function used with 'complete -C' in order to make @@ -160,12 +144,6 @@ void builtin_print_help( wchar_t *cmd, string_buffer_t *b ); */ const wchar_t *builtin_complete_get_temporary_buffer(); -/** - This function works like wperror, but it prints its result into - the sb_err string_buffer_t instead of to stderr. Used by the builtin - commands. -*/ -void builtin_wperror( const wchar_t *s); /** Return the help text for the specified builtin command. Use |