From: Victor Lowther Date: Fri, 13 Feb 2009 12:42:15 +0000 (-0800) Subject: [PATCH 19/50] The function keyword is deprecated. Get rid of it. X-Git-Tag: 0.1~459 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6b24de99d9b9a78496d4aca9e5d55de45bcd8341;p=thirdparty%2Fdracut.git [PATCH 19/50] The function keyword is deprecated. Get rid of it. --- diff --git a/dracut-functions b/dracut-functions index 8f1202104..7f9dfcdff 100755 --- a/dracut-functions +++ b/dracut-functions @@ -24,13 +24,13 @@ # # -function set_verbose() { +set_verbose() { foo="" } IF_RTLD="" IF_dynamic="" -function get_dso_deps() { +get_dso_deps() { local bin="$1" ; shift declare -a FILES @@ -96,7 +96,7 @@ EOF echo "${FILES[@]}" } -function inst() { +inst() { if [ "$#" != "2" -a "$#" != "3" ];then echo "usage: inst []" return 1