summaryrefslogtreecommitdiff
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-09-05 00:18:46 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-09-05 00:18:46 -0700
commitf75d7a913dd0fae7a739d12f704fca024c065c3e (patch)
tree5f7d36acdd831dcc0f377f39866bb33804ce741a /src/floatfns.c
parent7e570fbf3ef8ccd31df2651f5d2775c5697d5950 (diff)
downloademacs-f75d7a913dd0fae7a739d12f704fca024c065c3e.tar.gz
* 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.c4
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);
static void float_error ();
#endif
-/* Nonzero while executing in floating point.
+/* True while executing in floating point.
This tells float_error what to do. */
-static int in_float;
+static bool in_float;
/* If an argument is out of range for a mathematical function,
here is the actual argument value to use in the error message.