summaryrefslogtreecommitdiff
path: root/examples/network
diff options
context:
space:
mode:
authorMartin Woodward <martinwo@microsoft.com>2013-02-26 09:00:37 +0000
committerMartin Woodward <martinwo@microsoft.com>2013-02-26 09:00:37 +0000
commit5c46937b3ad5e67bacce923311388b785f50d60b (patch)
treee19d5bdbac9c75d805365dde3154d3fe7051c25f /examples/network
parent8005c6d420a2d8f00d96c1c0a385db91c88613c0 (diff)
downloadlibgit2-5c46937b3ad5e67bacce923311388b785f50d60b.tar.gz
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.
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/clone.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/network/clone.c b/examples/network/clone.c
index 80e80af27..00c25c1ae 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))