]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
[PATCH 19/50] The function keyword is deprecated. Get rid of it.
authorVictor Lowther <victor.lowther@gmail.com>
Fri, 13 Feb 2009 12:42:15 +0000 (04:42 -0800)
committerDave Jones <davej@redhat.com>
Mon, 16 Feb 2009 18:56:41 +0000 (13:56 -0500)
dracut-functions

index 8f1202104595527d88d09190c55e715cb6f052ac..7f9dfcdff6389a7e8f1e95f00f559b94ff2fa490 100755 (executable)
 #
 #
 
-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 <file> <root> [<destination file>]"
         return 1