From f7018b25cd790e946a1a2581d7cfdae86737a5d9 Mon Sep 17 00:00:00 2001
From: Jakob Olsson <jakobols@kth.se>
Date: Mon, 4 Jun 2018 15:18:46 +0200
Subject: [PATCH] change stack to stack_operations

---
 Makefile                      | 11 +++--------
 dongle_infrastructure.c       |  2 +-
 stack.c => stack_operations.c |  0
 stack.h => stack_operations.h |  2 +-
 4 files changed, 5 insertions(+), 10 deletions(-)
 rename stack.c => stack_operations.c (100%)
 rename stack.h => stack_operations.h (93%)

diff --git a/Makefile b/Makefile
index 731706f..7d29767 100644
--- a/Makefile
+++ b/Makefile
@@ -26,14 +26,9 @@ HSRCS		= common_hilink.c
 common_hilink: ${HOBJS}
 	${CC} -c ${CFLAGS} ${HSRCS} -o ${HOBJS}
 
-ZCOBJS		= common_zte.o
-ZCSRCS		= common_zte.c
-common_zte: ${ZCOBJS}
-	${CC} -c ${ZCSRCS} -o ${ZCOBJS}
-
-STOBJS		= stack.o
-STSRCS		= stack.c
-stack: ${STOBJS}
+STOBJS		= stack_operations.o
+STSRCS		= stack_operations.c
+stack_operations: ${STOBJS}
 	${CC} -c ${STSRCS} -o ${STOBJS}
 
 DIOBJS		= dongle_infrastructure.o
diff --git a/dongle_infrastructure.c b/dongle_infrastructure.c
index 188759b..409bd29 100644
--- a/dongle_infrastructure.c
+++ b/dongle_infrastructure.c
@@ -16,7 +16,7 @@
 
 #include "dongle_infrastructure.h"
 #include "dongle.h"
-#include "stack.h"
+#include "stack_operations.h"
 
 
 struct ubus_object *dongle_create_dynamic_object(struct device *dev_instance);
diff --git a/stack.c b/stack_operations.c
similarity index 100%
rename from stack.c
rename to stack_operations.c
diff --git a/stack.h b/stack_operations.h
similarity index 93%
rename from stack.h
rename to stack_operations.h
index 39db7ba..36f55c2 100644
--- a/stack.h
+++ b/stack_operations.h
@@ -1,6 +1,6 @@
 #ifndef DFS_H
 #define DFS_H
-#include "common_zte.h"
+#include "common.h"
 
 struct directory {
 	struct list_head list;
-- 
GitLab