Commit 5c46937b3ad5e67bacce923311388b785f50d60b

Martin Woodward 2013-02-26T09:00:37

Give props to Martin Pool Martin Pool was the original author of the code referenced in the clone example. Make note that he's given his permission and also give him the proper credit.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/examples/network/clone.c b/examples/network/clone.c
index 80e80af..00c25c1 100644
--- a/examples/network/clone.c
+++ b/examples/network/clone.c
@@ -9,7 +9,10 @@
 # include <unistd.h>
 #endif
 
-/* Shamelessly borrowed from http://stackoverflow.com/questions/3417837/ */
+/* Shamelessly borrowed from http://stackoverflow.com/questions/3417837/
+ * with permission of the original author, Martin Pool.
+ * http://sourcefrog.net/weblog/software/languages/C/unused.html
+ */
 #ifdef UNUSED
 #elif defined(__GNUC__)
 # define UNUSED(x) UNUSED_ ## x __attribute__((unused))