diff options
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 27 |
1 files changed, 19 insertions, 8 deletions
@@ -1,14 +1,25 @@ +/* Copyright 2011 Bert Muennich + * + * This file is part of sxiv. + * + * sxiv is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published + * by the Free Software Foundation; either version 2 of the License, + * or (at your option) any later version. + * + * sxiv 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 + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with sxiv. If not, see <http://www.gnu.org/licenses/>. + */ + #ifndef TYPES_H #define TYPES_H -#undef bool -#undef false -#undef true - -typedef enum { - false, - true -} bool; +#include <stdbool.h> typedef enum { BO_BIG_ENDIAN, |