Commit dbfd2833270ecbcdf98dcb2914c148a146b70307

Ben Straub 2013-10-30T07:21:12

add.c: proper frontmatter

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/examples/add.c b/examples/add.c
index 0411ca7..999a41e 100644
--- a/examples/add.c
+++ b/examples/add.c
@@ -1,6 +1,11 @@
-#include <git2.h>
-#include <stdio.h>
-#include <string.h>
+/*
+ * Copyright (C) the libgit2 contributors. All rights reserved.
+ *
+ * This file is part of libgit2, distributed under the GNU GPL v2 with
+ * a Linking Exception. For full terms see the included COPYING file.
+ */
+
+#include "common.h"
 #include <assert.h>
 
 enum print_options {