Skip to content

Commit

Permalink
SQUASH ME: revert changes in patch files
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegHahm committed Jan 19, 2017
1 parent e780d0e commit 0384de2
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
26 changes: 13 additions & 13 deletions pkg/emb6/patches/0002-Rename-colliding-files-and-functions.patch
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ index 2c16c2b..fc0dca5 100644
--- a/emb6/inc/apl/rest-engine/rest-engine.h
+++ b/emb6/inc/apl/rest-engine/rest-engine.h
@@ -41,7 +41,7 @@
#define REST_ENGINE_H
#define REST_ENGINE_H_


-#include "clist.h"
Expand Down Expand Up @@ -710,8 +710,8 @@ index 0e26be8..0000000
- *
- */
-
-#ifndef LIST_H
-#define LIST_H
-#ifndef LIST_H_
-#define LIST_H_
-
-#define LIST_CONCAT2(s1, s2) s1##s2
-#define LIST_CONCAT(s1, s2) LIST_CONCAT2(s1, s2)
Expand Down Expand Up @@ -798,7 +798,7 @@ index 0e26be8..0000000
-
-void * list_item_next(void *item);
-
-#endif /* LIST_H */
-#endif /* LIST_H_ */
-
-/** @} */
-/** @} */
Expand Down Expand Up @@ -879,8 +879,8 @@ index 0000000..a104f29
+ *
+ */
+
+#ifndef LIST_H
+#define LIST_H
+#ifndef LIST_H_
+#define LIST_H_
+
+#define LIST_CONCAT2(s1, s2) s1##s2
+#define LIST_CONCAT(s1, s2) LIST_CONCAT2(s1, s2)
Expand Down Expand Up @@ -967,7 +967,7 @@ index 0000000..a104f29
+
+void * list_item_next(void *item);
+
+#endif /* LIST_H */
+#endif /* LIST_H_ */
+
+/** @} */
+/** @} */
Expand Down Expand Up @@ -1014,8 +1014,8 @@ index 0000000..e59a500
+ * \file
+ * A brief description the file
+ */
+#ifndef RANDOM_H
+#define RANDOM_H
+#ifndef RANDOM_H_
+#define RANDOM_H_
+
+/*
+ * Initialize the pseudo-random generator.
Expand All @@ -1034,7 +1034,7 @@ index 0000000..e59a500
+/* Since random_rand casts to unsigned short, we'll use this maxmimum */
+#define RANDOM_RAND_MAX 65535U
+
+#endif /* RANDOM_H */
+#endif /* RANDOM_H_ */
diff --git a/utils/inc/emb6_ringbuffer.h b/utils/inc/emb6_ringbuffer.h
new file mode 100644
index 0000000..8b29730
Expand Down Expand Up @@ -1245,8 +1245,8 @@ index 3bab934..0000000
- * \file
- * A brief description the file
- */
-#ifndef RANDOM_H
-#define RANDOM_H
-#ifndef RANDOM_H_
-#define RANDOM_H_
-
-/*
- * Initialize the pseudo-random generator.
Expand All @@ -1265,7 +1265,7 @@ index 3bab934..0000000
-/* Since random_rand casts to unsigned short, we'll use this maxmimum */
-#define RANDOM_RAND_MAX 65535U
-
-#endif /* RANDOM_H */
-#endif /* RANDOM_H_ */
diff --git a/utils/inc/ringbuffer.h b/utils/inc/ringbuffer.h
deleted file mode 100644
index 8b29730..0000000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ index 1bb595a..b13fdbe 100644

+#endif /* FEATURE_PERIPH_HWRNG */
+
#endif /* _UECC_PLATFORM_SPECIFIC_H */
#endif /* _UECC_PLATFORM_SPECIFIC_H_ */
diff --git a/uECC.c b/uECC.c
index daa144a..3691fc4 100644
--- a/uECC.c
Expand Down
6 changes: 3 additions & 3 deletions pkg/oonf_api/patches/0001-add-RIOT-support.patch
Original file line number Diff line number Diff line change
Expand Up @@ -238,15 +238,15 @@ index 0000000..9bf6622
+ *
+ */
+
+#ifndef RFC5444_API_CONFIG_H
+#define RFC5444_API_CONFIG_H
+#ifndef RFC5444_API_CONFIG_H_
+#define RFC5444_API_CONFIG_H_
+
+#define DISALLOW_CONSUMER_CONTEXT_DROP false
+#define WRITER_STATE_MACHINE true
+#define DEBUG_CLEANUP true
+#define DO_ADDR_COMPRESSION true
+#define CLEAR_ADDRESS_POSTFIX false
+
+#endif /* RFC5444_API_CONFIG_H */
+#endif /* RFC5444_API_CONFIG_H_ */
--
1.9.1
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ index 80da6ac..b545d53 100644
+ oonf_list_last_element(head, element, list_member), \
element, list_member, ptr)

#endif /* LIST_H */
#endif /* LIST_H_ */
diff --git a/src-api/core/oonf_logging.c b/src-api/core/oonf_logging.c
index 33db5f4..81d32d3 100644
--- a/src-api/core/oonf_logging.c
Expand Down Expand Up @@ -1440,7 +1440,7 @@ index e8fb218..edaa031 100644
+ return oonf_list_is_node_added(&sock->node);
}

#endif /* OONF_PACKET_SOCKET_H */
#endif /* OONF_PACKET_SOCKET_H_ */
diff --git a/src-api/subsystems/oonf_rfc5444.c b/src-api/subsystems/oonf_rfc5444.c
index 013ccac..94764df 100644
--- a/src-api/subsystems/oonf_rfc5444.c
Expand Down

0 comments on commit 0384de2

Please sign in to comment.