This commit is contained in:
dcp1990 2004-12-23 23:13:05 +00:00
parent dc9bc9cc86
commit 7a6d9c1d12
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,5 @@
CFLAGS=-g -Wall -DSPEAKER CFLAGS=-g -Wall
#-DSPEAKER
# -DDEBUG # -DDEBUG
all: cidserv bcast hex all: cidserv bcast hex
cidserv: cidserv.c cidserv: cidserv.c

View file

@ -20,7 +20,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>
#define VERSION "0.1" #define VERSION "0.2"
#ifdef SPEAKER #ifdef SPEAKER
#include <machine/speaker.h> #include <machine/speaker.h>
int wantspkr = 1; int wantspkr = 1;
@ -32,6 +32,7 @@ int ring = 0, nhosts = 0;
char hosts[10][18]; char hosts[10][18];
FILE* logfh; FILE* logfh;
char* devi; char* devi;
static const char rcsid[] = "$Amigan: cidserv/src/cidserv.c,v 1.2 2004/12/23 23:13:05 dcp1990 Exp $";
int modemfd, sfd; int modemfd, sfd;
struct tm *ct; struct tm *ct;
time_t now; time_t now;