summaryrefslogtreecommitdiff
path: root/builtins/return.def
diff options
context:
space:
mode:
Diffstat (limited to 'builtins/return.def')
-rw-r--r--builtins/return.def5
1 files changed, 3 insertions, 2 deletions
diff --git a/builtins/return.def b/builtins/return.def
index e88808c8..9f9b5286 100644
--- a/builtins/return.def
+++ b/builtins/return.def
@@ -7,7 +7,7 @@ This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 1, or (at your option) any later
+Software Foundation; either version 2, or (at your option) any later
version.
Bash is distributed in the hope that it will be useful, but WITHOUT ANY
@@ -17,7 +17,7 @@ for more details.
You should have received a copy of the GNU General Public License along
with Bash; see the file COPYING. If not, write to the Free Software
-Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+Foundation, 59 Temple Place, Suite 330, Boston, MA 02111 USA.
$PRODUCES return.c
@@ -42,6 +42,7 @@ $END
#include "common.h"
extern int last_command_exit_value;
+extern int subshell_environment;
extern int return_catch_flag, return_catch_value;
/* If we are executing a user-defined function then exit with the value