X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=builtins.h;h=f75e5038bdb61005a8e73989858ea1d0f8ee8858;hb=95732b497d12c98613bb3c5db16b61f377501a59;hp=e97fa04bb99282f36f6933e4abe80a1fc1235e78;hpb=f73dda092b33638d2d5e9c35375f687a607b5403;p=platform%2Fupstream%2Fbash.git diff --git a/builtins.h b/builtins.h index e97fa04..f75e503 100644 --- a/builtins.h +++ b/builtins.h @@ -41,13 +41,15 @@ #define SPECIAL_BUILTIN 0x8 /* This is a Posix `special' builtin. */ #define ASSIGNMENT_BUILTIN 0x10 /* This builtin takes assignment statements. */ +#define BASE_INDENT 4 + /* The thing that we build the array of builtins out of. */ struct builtin { char *name; /* The name that the user types. */ - sh_builtin_func_t *function; /* The address of the invoked function. */ + sh_builtin_func_t *function; /* The address of the invoked function. */ int flags; /* One of the #defines above. */ - char **long_doc; /* NULL terminated array of strings. */ - char *short_doc; /* Short version of documenation. */ + char * const *long_doc; /* NULL terminated array of strings. */ + const char *short_doc; /* Short version of documenation. */ char *handle; /* for future use */ };