]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
adapt sk-dummy's fatal implementation to changes
authorDamien Miller <djm@mindrot.org>
Sat, 17 Oct 2020 00:42:26 +0000 (11:42 +1100)
committerDamien Miller <djm@mindrot.org>
Sat, 17 Oct 2020 00:42:26 +0000 (11:42 +1100)
regress/misc/sk-dummy/fatal.c

index 7cdc74b97b57ffe92e8df8c9f7a9871ca4c94be7..f711f6e92fbabf12c71ebc313e722af0e42c44da 100644 (file)
@@ -1,14 +1,17 @@
 /* public domain */
 
+#include "includes.h"
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdarg.h>
 #include <unistd.h>
 
-void fatal(char *fmt, ...);
+void
+sshfatal(const char *file, const char *func, int line, const char *fmt, ...);
 
 void
-fatal(char *fmt, ...)
+sshfatal(const char *file, const char *func, int line, const char *fmt, ...)
 {
        va_list ap;