diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 19:07:11 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-10-22 19:07:11 +0200 |
commit | a3d745441217c491c0420be9dba0cf83aefea0c0 (patch) | |
tree | 9de19a8f0eb574d3ced5115c210572dfd0aceb62 /src/osd/osdcore.h | |
parent | 88b5a5c09fccc9c74b065523dbf2175d263a8db2 (diff) |
final cleanup of TRUE/FALSE, left only in windows section where it represent BOOL (nw)
Diffstat (limited to 'src/osd/osdcore.h')
-rw-r--r-- | src/osd/osdcore.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/osd/osdcore.h b/src/osd/osdcore.h index 2989f568c73..5a2422e50f9 100644 --- a/src/osd/osdcore.h +++ b/src/osd/osdcore.h @@ -265,11 +265,11 @@ const char *osd_getenv(const char *name); Return value: - TRUE if the filename points to a physical drive and if the values - pointed to by cylinders, heads, sectors, and bps are valid; FALSE in + true if the filename points to a physical drive and if the values + pointed to by cylinders, heads, sectors, and bps are valid; false in any other case -----------------------------------------------------------------------------*/ -int osd_get_physical_drive_geometry(const char *filename, uint32_t *cylinders, uint32_t *heads, uint32_t *sectors, uint32_t *bps); +bool osd_get_physical_drive_geometry(const char *filename, uint32_t *cylinders, uint32_t *heads, uint32_t *sectors, uint32_t *bps); /*----------------------------------------------------------------------------- @@ -560,10 +560,10 @@ int osd_work_queue_items(osd_work_queue *queue); Return value: - TRUE if the queue is empty; FALSE if the wait timed out before the + true if the queue is empty; false if the wait timed out before the queue was emptied. -----------------------------------------------------------------------------*/ -int osd_work_queue_wait(osd_work_queue *queue, osd_ticks_t timeout); +bool osd_work_queue_wait(osd_work_queue *queue, osd_ticks_t timeout); /*----------------------------------------------------------------------------- @@ -637,10 +637,10 @@ static inline osd_work_item *osd_work_item_queue(osd_work_queue *queue, osd_work Return value: - TRUE if the item completed; FALSE if the wait timed out before the + true if the item completed; false if the wait timed out before the item completed. -----------------------------------------------------------------------------*/ -int osd_work_item_wait(osd_work_item *item, osd_ticks_t timeout); +bool osd_work_item_wait(osd_work_item *item, osd_ticks_t timeout); /*----------------------------------------------------------------------------- |