diff options
author | Chet Ramey <chet.ramey@case.edu> | 2020-12-06 15:51:17 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2020-12-06 15:51:17 -0500 |
commit | 8868edaf2250e09c4e9a1c75ffe3274f28f38581 (patch) | |
tree | d9a7812ab6cd2f45c5021755c4c094b19dab1b51 /builtins/colon.def | |
parent | 36f2c406ff27995392a9247dfa90672fdaf7dc43 (diff) | |
download | bash-8868edaf2250e09c4e9a1c75ffe3274f28f38581.tar.gz |
bash-5.1 distribution sources and documentationbash-5.1
Diffstat (limited to 'builtins/colon.def')
-rw-r--r-- | builtins/colon.def | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/builtins/colon.def b/builtins/colon.def index 4b78b30c..6891b079 100644 --- a/builtins/colon.def +++ b/builtins/colon.def @@ -1,7 +1,7 @@ This file is colon.def, from which is created colon.c. It implements the builtin ":" in Bash. -Copyright (C) 1987-2009 Free Software Foundation, Inc. +Copyright (C) 1987-2019 Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. @@ -50,10 +50,19 @@ Exit Status: Always fails. $END +#include <config.h> + +#if defined (HAVE_UNISTD_H) +# include <unistd.h> +#endif + +#include "../bashansi.h" +#include "../shell.h" + /* Return a successful result. */ int colon_builtin (ignore) - char *ignore; + WORD_LIST *ignore; { return (0); } @@ -61,7 +70,7 @@ colon_builtin (ignore) /* Return an unsuccessful result. */ int false_builtin (ignore) - char *ignore; + WORD_LIST *ignore; { return (1); } |