aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Woodward2005-01-16 23:47:39 +0000
committerJason Woodward2005-01-16 23:47:39 +0000
commita93dea21cdda35f12f8f74086a4cc33df3a38bf9 (patch)
treea878f023d68b1e745ac981bbbaa9a9dcae19f0a8 /src
parent08851bd22b6db2024da63157cad24d40d3b9e2ea (diff)
downloadslapt-get-a93dea21cdda35f12f8f74086a4cc33df3a38bf9.tar.gz
changed bool to BOOL_T
Diffstat (limited to 'src')
-rw-r--r--src/common.h2
-rw-r--r--src/configuration.h24
-rw-r--r--src/package.h2
3 files changed, 14 insertions, 14 deletions
diff --git a/src/common.h b/src/common.h
index d8edcbb..9d0e421 100644
--- a/src/common.h
+++ b/src/common.h
@@ -20,7 +20,7 @@
#define MAX_REGEX_PARTS 10
#define SLACK_BASE_SET_REGEX "^./slackware/a$"
-typedef enum { FALSE = 0, TRUE } bool;
+typedef enum { FALSE = 0, TRUE } BOOL_T;
typedef struct {
regex_t regex;
diff --git a/src/configuration.h b/src/configuration.h
index 51ba865..fe283ea 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -36,19 +36,19 @@ struct source_list {
typedef struct {
struct source_list sources;
char working_dir[WORKINGDIR_TOKEN_LEN];
- bool download_only;
- bool dist_upgrade;
- bool simulate;
- bool no_prompt;
- bool re_install;
+ BOOL_T download_only;
+ BOOL_T dist_upgrade;
+ BOOL_T simulate;
+ BOOL_T no_prompt;
+ BOOL_T re_install;
struct exclude_list *exclude_list;
- bool ignore_excludes;
- bool no_md5_check;
- bool ignore_dep;
- bool disable_dep_check;
- bool print_uris;
- bool dl_stats;
- bool remove_obsolete;
+ BOOL_T ignore_excludes;
+ BOOL_T no_md5_check;
+ BOOL_T ignore_dep;
+ BOOL_T disable_dep_check;
+ BOOL_T print_uris;
+ BOOL_T dl_stats;
+ BOOL_T remove_obsolete;
} rc_config;
rc_config *read_rc_config(const char *file_name);
diff --git a/src/package.h b/src/package.h
index 9364533..da77fca 100644
--- a/src/package.h
+++ b/src/package.h
@@ -69,7 +69,7 @@ typedef struct {
struct pkg_list {
pkg_info_t **pkgs;
unsigned int pkg_count;
- bool free_pkgs;
+ BOOL_T free_pkgs;
};
typedef struct {