RIP BOOL. Convert BOOL -> bool. I found a few interesting
[tprouty/samba.git] / source3 / lib / secacl.c
index 71b2245534482187def387ebabc4c53d1a27b5e7..328bc1b4b415f05197aebdaad86d1392dbf763f0 100644 (file)
@@ -17,8 +17,7 @@
  *  GNU General Public License for more details.
  *  
  *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *  along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "includes.h"
@@ -75,7 +74,7 @@ SEC_ACL *dup_sec_acl(TALLOC_CTX *ctx, SEC_ACL *src)
  Compares two SEC_ACL structures
 ********************************************************************/
 
-BOOL sec_acl_equal(SEC_ACL *s1, SEC_ACL *s2)
+bool sec_acl_equal(SEC_ACL *s1, SEC_ACL *s2)
 {
        unsigned int i, j;
 
@@ -102,7 +101,7 @@ BOOL sec_acl_equal(SEC_ACL *s1, SEC_ACL *s2)
           each ACE in s2. */
 
        for (i = 0; i < s1->num_aces; i++) {
-               BOOL found = False;
+               bool found = False;
 
                for (j = 0; j < s2->num_aces; j++) {
                        if (sec_ace_equal(&s1->aces[i], &s2->aces[j])) {