Commit 3abdfaef authored by Ian Murdock's avatar Ian Murdock
Browse files

Renamed sched.h to event-sched.h, to avoid conflicts with system

sched.h. Renamed sched.c to event-sched.c to match header rename.
parent 1749564d
# Makefile for building event scheduler
#
# $Id: Makefile,v 1.1 2001-11-02 05:40:53 imurdock Exp $
# $Id: Makefile,v 1.2 2001-12-04 15:15:32 imurdock Exp $
CC = gcc
CFLAGS = -g -I. -I../lib -Wall -DDEBUG
......@@ -14,9 +14,9 @@ MV = mv -f
RM = rm -f
program = event-sched
source = queue.c sched.c
object = queue.o sched.o
header = sched.h
source = event-sched.c queue.c
object = event-sched.o queue.o
header = event-sched.h
.c.o:
$(CC) $(CFLAGS) -c $<
......
......@@ -6,14 +6,15 @@
* @COPYRIGHT@
*/
static char rcsid[] = "$Id: sched.c,v 1.2 2001-11-06 17:31:07 imurdock Exp $";
static char rcsid[] = "$Id: event-sched.c,v 1.1 2001-12-04 15:15:32 imurdock Exp $";
#include <stdio.h>
#include <sys/time.h>
#include <sys/types.h>
#include <time.h>
#include <unistd.h>
#include <sched.h>
#include <event-sched.h>
static void sched_seed_event_queue(void);
#ifdef TEST_SCHED
......
......@@ -6,7 +6,7 @@
*
* @COPYRIGHT@
*
* $Id: sched.h,v 1.1 2001-11-02 05:40:54 imurdock Exp $
* $Id: event-sched.h,v 1.1 2001-12-04 15:15:32 imurdock Exp $
*/
#ifndef __SCHED_H__
......
......@@ -6,13 +6,14 @@
* @COPYRIGHT@
*/
static char rcsid[] = "$Id: queue.c,v 1.1 2001-11-02 05:40:53 imurdock Exp $";
static char rcsid[] = "$Id: queue.c,v 1.2 2001-12-04 15:17:09 imurdock Exp $";
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <sys/time.h>
#include <sched.h>
#include <event-sched.h>
/* The size of the event queue (i.e., the number of events that can be
pending at any given time). */
......
# Makefile for building event system tests
#
# $Id: Makefile,v 1.2 2001-11-02 05:42:02 imurdock Exp $
# $Id: Makefile,v 1.3 2001-12-04 15:16:01 imurdock Exp $
CC = gcc
CFLAGS = -g -I. -I../lib -Wall -DDEBUG
......@@ -29,7 +29,7 @@ test-queue: ../sched/queue.c
$(CC) $(LDFLAGS) -o $@ $(CFLAGS) -DTEST_EVENT_QUEUES -I../sched \
$< $(LIBS) $(LIBS)
test-sched: ../sched/sched.c
test-sched: ../sched/event-sched.c
$(CC) $(LDFLAGS) -o $@ $(CFLAGS) -DTEST_SCHED -I../sched \
$< ../sched/queue.o $(LIBS) $(LIBS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment