Module Name:    othersrc
Committed By:   agc
Date:           Tue Jun 24 07:04:00 UTC 2014

Modified Files:
        othersrc/external/bsd/threshold/dist/src/libthreshold: raid.c

Log Message:
only include the codecs.h header if the main program is being used to test -
in normal operations, this won't be needed.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    othersrc/external/bsd/threshold/dist/src/libthreshold/raid.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/threshold/dist/src/libthreshold/raid.c
diff -u othersrc/external/bsd/threshold/dist/src/libthreshold/raid.c:1.2 othersrc/external/bsd/threshold/dist/src/libthreshold/raid.c:1.3
--- othersrc/external/bsd/threshold/dist/src/libthreshold/raid.c:1.2	Tue Dec  4 07:39:19 2012
+++ othersrc/external/bsd/threshold/dist/src/libthreshold/raid.c	Tue Jun 24 07:04:00 2014
@@ -26,7 +26,6 @@
 #include <sys/stat.h>
 #include <sys/mman.h>
 
-#include <codecs.h>
 #include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -424,6 +423,9 @@ raid_read_header(const char *mem, uint8_
 }
 
 #ifdef RAID5_MAIN
+
+#include <codecs.h>
+
 int
 main(int argc, char **argv)
 {

Reply via email to