]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Add include guards to datagen.h
authorNick Terrell <terrelln@fb.com>
Fri, 23 Sep 2016 00:12:50 +0000 (17:12 -0700)
committerNick Terrell <terrelln@fb.com>
Fri, 23 Sep 2016 00:12:50 +0000 (17:12 -0700)
programs/datagen.h

index 55f9d82838b6d3910fea53f1b8f8da32c938fd0f..094056b696ca345c6108257104726b99d998c115 100644 (file)
@@ -6,7 +6,8 @@
  * LICENSE file in the root directory of this source tree. An additional grant
  * of patent rights can be found in the PATENTS file in the same directory.
  */
-
+#ifndef DATAGEN_H
+#define DATAGEN_H
 
 #include <stddef.h>   /* size_t */
 
@@ -22,3 +23,5 @@ void RDG_genBuffer(void* buffer, size_t size, double matchProba, double litProba
    RDG_genStdout
    Same as RDG_genBuffer, but generates data into stdout
 */
+
+#endif