]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.http
Remove the function keyword which is a bashism
[people/stevee/network.git] / src / functions / functions.http
index 1c61443c9a289706cb77286d8e443366c2fc9991..693f9f87e340286713a32a40de90418c5560c104 100644 (file)
 #                                                                             #
 ###############################################################################
 
-function http_format_args() {
+http_format_args() {
        local args="$@"
 
        list_join args "&"
 }
 
-function http_GET() {
+http_GET() {
        local username
        local password
 
@@ -68,7 +68,7 @@ function http_GET() {
        http_call "${url}"
 }
 
-function http_call() {
+http_call() {
        # Argument list for invoking curl.
        local args