comparison rvinterf/etmsync/fsiomain.c @ 915:7b805007dcfc

etmsync: slight "main" refactoring in preparation for multiple programs
author Space Falcon <falcon@ivan.Harhan.ORG>
date Tue, 08 Sep 2015 18:26:42 +0000
parents 792f164b63a6
children
comparison
equal deleted inserted replaced
914:de0505be800d 915:7b805007dcfc
5 #include <stdio.h> 5 #include <stdio.h>
6 #include <stdlib.h> 6 #include <stdlib.h>
7 #include <unistd.h> 7 #include <unistd.h>
8 #include "exitcodes.h" 8 #include "exitcodes.h"
9 9
10 char *socket_pathname = "/tmp/rvinterf_socket"; 10 extern char *socket_pathname;
11 int sock;
12
13 extern char *rvinterf_ttyport, *rvinterf_Bopt, *rvinterf_lopt, *rvinterf_wopt; 11 extern char *rvinterf_ttyport, *rvinterf_Bopt, *rvinterf_lopt, *rvinterf_wopt;
14 12
15 main(argc, argv) 13 main(argc, argv)
16 char **argv; 14 char **argv;
17 { 15 {