mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Cleanup
This commit is contained in:
parent
5bf7ae6382
commit
b72fae4c87
3 changed files with 7 additions and 4 deletions
|
|
@ -19,7 +19,9 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include "config.h"
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#define UNUSED(expr) do { (void)(expr); } while (0)
|
||||
|
||||
char * current_time(void);
|
||||
|
|
|
|||
|
|
@ -20,10 +20,6 @@
|
|||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "socket.h"
|
||||
#include "options.h"
|
||||
#include "print.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -33,6 +29,10 @@
|
|||
#include <netinet/in.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "socket.h"
|
||||
#include "options.h"
|
||||
#include "print.h"
|
||||
|
||||
#define MAX_SOCKET_CLIENTS 16
|
||||
#define SOCKET_PORT_DEFAULT 3333
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue