]> wimlib.net Git - wimlib/blobdiff - examples/compressfile.c
Use more comprehensive public domain dedications
[wimlib] / examples / compressfile.c
index 6887e0e4cae389c676bb023a1a46eab269ac6327..bc7ed18ab5d8df1079a20ae2b2f11cc22c430a82 100644 (file)
@@ -1,7 +1,25 @@
 /*
- * compressfile.c
+ * compressfile.c - compression API example
  *
- * An example of using wimlib's compression API to compress a file.
+ * The following copying information applies to this specific source code file:
+ *
+ * Written in 2014 by Eric Biggers <ebiggers3@gmail.com>
+ *
+ * To the extent possible under law, the author(s) have dedicated all copyright
+ * and related and neighboring rights to this software to the public domain
+ * worldwide via the Creative Commons Zero 1.0 Universal Public Domain
+ * Dedication (the "CC0").
+ *
+ * This software is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the CC0 for more details.
+ *
+ * You should have received a copy of the CC0 along with this software; if not
+ * see <http://creativecommons.org/publicdomain/zero/1.0/>.
+ */
+
+/*
+ * This an example of using wimlib's compression API to compress a file.
  *
  * This program does *not* have anything to do with WIM files other than the
  * fact that this makes use of compression formats that are used in WIM files.
@@ -26,9 +44,6 @@
  *
  * The compressed file format created here is simply a series of compressed
  * chunks.  A real format would need to have checksums and other metadata.
- *
- * The author dedicates this file to the public domain.
- * You can do whatever you want with this file.
  */
 
 #define _GNU_SOURCE