Description: Fix build failure on GCC5 by using C99 __func__
Author: James Cowgill <james410@cowgill.org.uk>
Bug-Debian: https://bugs.debian.org/777941
Forwarded: https://github.com/dparrish/libcli/pull/21
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/clitest.c
+++ b/clitest.c
@@ -72,7 +72,7 @@ int winsock_init()
 int cmd_test(struct cli_def *cli, const char *command, char *argv[], int argc)
 {
     int i;
-    cli_print(cli, "called %s with \"%s\"", __FUNCTION__, command);
+    cli_print(cli, "called %s with \"%s\"", __func__, command);
     cli_print(cli, "%d arguments:", argc);
     for (i = 0; i < argc; i++)
         cli_print(cli, "        %s", argv[i]);
