X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Ftaint.c;h=abe21a3c90af3aa8a6d2839d528651b93e5545e1;hb=424aa0c4f6d8ff6dc123e4452f37af7e6cd2d5d3;hp=4c1cecb97cdbbdbcdd2302e91f2741e7a68a8bc2;hpb=8b71948cd57dbd2787cb4c50525b957e9be8a62b;p=pspp diff --git a/src/libpspp/taint.c b/src/libpspp/taint.c index 4c1cecb97c..abe21a3c90 100644 --- a/src/libpspp/taint.c +++ b/src/libpspp/taint.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 2007, 2009, 2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -16,15 +16,15 @@ #include -#include +#include "libpspp/taint.h" #include -#include -#include -#include +#include "libpspp/array.h" +#include "libpspp/assertion.h" +#include "libpspp/cast.h" -#include "xalloc.h" +#include "gl/xalloc.h" /* This code maintains two invariants: @@ -96,7 +96,7 @@ taint_clone (const struct taint *taint_) bool taint_destroy (struct taint *taint) { - if ( taint ) + if (taint) { bool was_tainted = taint_is_tainted (taint); if (--taint->ref_cnt == 0)