]> git.proxmox.com Git - libgit2.git/commitdiff
Give props to Martin Pool
authorMartin Woodward <martinwo@microsoft.com>
Tue, 26 Feb 2013 09:00:37 +0000 (09:00 +0000)
committerMartin Woodward <martinwo@microsoft.com>
Tue, 26 Feb 2013 09:00:37 +0000 (09:00 +0000)
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.

examples/network/clone.c

index 80e80af27444608eb4fe4b732ebfa737fd3c68df..00c25c1ae89d21b7cdbe7246db3b97d3fd48d543 100644 (file)
@@ -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))