From e3ed4558ff82266519a32900b237c51d8dd351f1 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Tue, 27 Oct 2020 14:04:09 -0500 Subject: Replace old calls --- P2/lib/utils.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/P2/lib/utils.c b/P2/lib/utils.c index c31e7fc..6fa454e 100644 --- a/P2/lib/utils.c +++ b/P2/lib/utils.c @@ -68,13 +68,12 @@ int hashFunction(char* Qkey, int reducers){ int getInterData(char *Qkey, int reducerID) { //make sure it work. - key_t Qkey = ftok("4061 Project 2 SS", 'S'); - + int id = openQueue(); } void shuffle(int nMappers, int nReducers) { //Once again, MAKE SURE THIS WORKS PROPERLY! - key_t Qkey = ftok("4061 Project 2 SS", 'S'); + int id = openQueue(); } -- cgit v1.2.3