Autotoolify

This commit is contained in:
Kim Woelders
2018-06-28 11:02:10 +02:00
parent 6337ac09eb
commit ac76071e0e
6 changed files with 93 additions and 37 deletions
+5 -10
View File
@@ -2,12 +2,10 @@
* Copyright (c) 2018 Lars Thrane A/S
* SPDX-License-Identifier: GPL-2.0
*/
#include "config.h"
#define _FILE_OFFSET_BITS 64
#define _POSIX_C_SOURCE 200809L
#define _GNU_SOURCE
#include <fuse/cuse_lowlevel.h>
#include <fuse/fuse_opt.h>
#include <cuse_lowlevel.h>
#include <fuse_opt.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
@@ -31,7 +29,6 @@
#include <time.h>
#include "telnet.h"
#include "ver.h"
#define RX_BUF_SIZE 1024
#define MAX_HOST_NAME 64
@@ -862,10 +859,8 @@ int main(int argc, char *argv[])
perror("Failed to open log file");
return 1;
}
ttynvt_log("ttynvt ver:%u:%02u started, dev:%s\n",
TTYNVT_VER_MAJOR,
TTYNVT_VER_MINOR,
param.dev_name);
ttynvt_log("ttynvt ver:%s started, dev:%s\n",
PACKAGE_VERSION, param.dev_name);
}
else
lfd = -1;