From 517d8ce6cc880bb523ee55005afdcad1ec551e64 Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Tue, 17 Apr 2012 16:40:23 -0700 Subject: [PATCH] rename threads_internal.h -> threads.h --- Makefile | 2 +- libthreads.cc | 2 +- model.h | 2 +- schedule.cc | 2 +- schedule.h | 2 +- threads.cc | 2 +- threads_internal.h => threads.h | 6 +++--- 7 files changed, 9 insertions(+), 9 deletions(-) rename threads_internal.h => threads.h (88%) diff --git a/Makefile b/Makefile index de622ec..f484bb9 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CC=g++ BIN=model SOURCE=libthreads.cc schedule.cc libatomic.cc userprog.c model.cc malloc.c threads.cc -HEADERS=libthreads.h schedule.h common.h libatomic.h model.h threads_internal.h +HEADERS=libthreads.h schedule.h common.h libatomic.h model.h threads.h FLAGS=-Wall -ldl -g all: ${BIN} diff --git a/libthreads.cc b/libthreads.cc index 7ed5491..a43505e 100644 --- a/libthreads.cc +++ b/libthreads.cc @@ -1,6 +1,6 @@ #include "libthreads.h" #include "common.h" -#include "threads_internal.h" +#include "threads.h" /* global "model" object */ #include "model.h" diff --git a/model.h b/model.h index 05cdf5c..cd922df 100644 --- a/model.h +++ b/model.h @@ -7,7 +7,7 @@ #include "schedule.h" #include "libthreads.h" #include "libatomic.h" -#include "threads_internal.h" +#include "threads.h" #define VALUE_NONE -1 diff --git a/schedule.cc b/schedule.cc index 60d84a8..691c6f4 100644 --- a/schedule.cc +++ b/schedule.cc @@ -1,4 +1,4 @@ -#include "threads_internal.h" +#include "threads.h" #include "schedule.h" #include "common.h" #include "model.h" diff --git a/schedule.h b/schedule.h index bdccf11..64531b5 100644 --- a/schedule.h +++ b/schedule.h @@ -3,7 +3,7 @@ #include -#include "threads_internal.h" +#include "threads.h" #include "model.h" class Scheduler { diff --git a/threads.cc b/threads.cc index 397c789..13be391 100644 --- a/threads.cc +++ b/threads.cc @@ -3,7 +3,7 @@ #include "libthreads.h" #include "schedule.h" #include "common.h" -#include "threads_internal.h" +#include "threads.h" /* global "model" object */ #include "model.h" diff --git a/threads_internal.h b/threads.h similarity index 88% rename from threads_internal.h rename to threads.h index 4c1e36a..7427eeb 100644 --- a/threads_internal.h +++ b/threads.h @@ -1,5 +1,5 @@ -#ifndef __THREADS_INTERNAL_H__ -#define __THREADS_INTERNAL_H__ +#ifndef __THREADS_H__ +#define __THREADS_H__ #include @@ -44,4 +44,4 @@ static inline thread_id_t thrd_to_id(thrd_t t) return t; } -#endif /* __THREADS_INTERNAL_H__ */ +#endif /* __THREADS_H__ */ -- 2.34.1