diff options
| author | Paul Eggert | 2012-09-05 00:18:46 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-05 00:18:46 -0700 |
| commit | f75d7a913dd0fae7a739d12f704fca024c065c3e (patch) | |
| tree | 5f7d36acdd831dcc0f377f39866bb33804ce741a /src/floatfns.c | |
| parent | 7e570fbf3ef8ccd31df2651f5d2775c5697d5950 (diff) | |
| download | emacs-f75d7a913dd0fae7a739d12f704fca024c065c3e.tar.gz emacs-f75d7a913dd0fae7a739d12f704fca024c065c3e.zip | |
* fileio.c, filelock.c, floatfns.c, fns.c: Use bool for boolean.
* fileio.c (auto_saving, auto_save_error_occurred, make_temp_name)
(Fexpand_file_name, barf_or_query_if_file_exists, Fcopy_file)
(file_name_absolute_p, Fsubstitute_in_file_name):
(check_executable, check_writable, Ffile_accessible_directory_p)
(Fset_file_selinux_context, Fdefault_file_modes)
(Finsert_file_contents, choose_write_coding_system)
(Fwrite_region, build_annotations, a_write, e_write)
(Fdo_auto_save):
* filelock.c (boot_time_initialized, get_boot_time)
(get_boot_time_1, lock_file_1, within_one_second):
* floatfns.c (in_float):
* fns.c (concat, internal_equal, Frequire, base64_encode_1)
(base64_decode_1, cmpfn_eql, cmpfn_user_defined)
(sweep_weak_table, sweep_weak_hash_tables, secure_hash):
* lisp.h (struct Lisp_Hash_Table.cmpfn):
* window.c (compare_window_configurations):
Use bool for booleans.
* fileio.c (auto_saving_dir_umask, auto_saving_mode_bits)
(Fdefault_file_modes): Now mode_t, not int, for modes.
(Fdo_auto_save): Set a boolean to 1 rather than using ++.
(internal_delete_file): Now returns void, not a (boolean) int,
since nobody was looking at the return value.
* lisp.h, window.h: Adjust to above API changes.
Diffstat (limited to 'src/floatfns.c')
| -rw-r--r-- | src/floatfns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/floatfns.c b/src/floatfns.c index cad071f1e15..706fe7ae1a0 100644 --- a/src/floatfns.c +++ b/src/floatfns.c | |||
| @@ -103,10 +103,10 @@ extern double logb (double); | |||
| 103 | static void float_error (); | 103 | static void float_error (); |
| 104 | #endif | 104 | #endif |
| 105 | 105 | ||
| 106 | /* Nonzero while executing in floating point. | 106 | /* True while executing in floating point. |
| 107 | This tells float_error what to do. */ | 107 | This tells float_error what to do. */ |
| 108 | 108 | ||
| 109 | static int in_float; | 109 | static bool in_float; |
| 110 | 110 | ||
| 111 | /* If an argument is out of range for a mathematical function, | 111 | /* If an argument is out of range for a mathematical function, |
| 112 | here is the actual argument value to use in the error message. | 112 | here is the actual argument value to use in the error message. |