summaryrefslogtreecommitdiffstats
path: root/src/misc.h
blob: 8635a5dbb2fa0245a36dd6dd0975d25962d97e06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef MISC_H
#define MISC_H

#include <unistd.h>
#include "autoconf.h"

#include "net-proxy.h"

int set_term(int set_init);

static inline void print_version(char *prog)
{
	printf("%s "CONFIG_TSNIF_VER"\n", prog);
	_exit(0);
}

#endif /* !MISC_H */