mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-01-25 19:02:59 +00:00
ef3853bb94
include a fatal() implementation to satisfy libopenbsd-compat clean up .lo and .so files .gitignore .lo and .so files
21 lines
269 B
C
21 lines
269 B
C
/* public domain */
|
|
|
|
#include <stdlib.h>
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
#include <unistd.h>
|
|
|
|
void fatal(char *fmt, ...);
|
|
|
|
void
|
|
fatal(char *fmt, ...)
|
|
{
|
|
va_list ap;
|
|
|
|
va_start(ap, fmt);
|
|
vfprintf(stderr, fmt, ap);
|
|
va_end(ap);
|
|
fputc('\n', stderr);
|
|
_exit(1);
|
|
}
|