• Dan Nicolaescu's avatar
    Use const, move declarations to header files. · eec47d6b
    Dan Nicolaescu authored
    * src/buffer.c (Fset_buffer_multibyte): Remove local extern declaration.
    
    * src/character.c (strwidth, parse_str_to_multibyte): Add const.
    
    * src/character.h (strwidth, parse_str_to_multibyte): Likewise.
    
    * src/charset.c (add_to_log): Remove declaration.
    
    * src/composite.c (syms_of_composite): Remove local extern declarations.
    
    * src/data.c (Finteractive_form): Use const.
    
    * src/dired.c (scmp): Add const.
    (directory_files_internal): Remove local extern declaration.
    
    * src/dispextern.h (add_to_log): Remove declaration.
    (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
    (x_frame_get_and_record_arg, x_default_parameter): Add const.
    
    * src/dispnew.c: Remove duplicate #include <unistd.h>.
    (update_window, update_frame_1, init_display): Remove local extern
    declarations.
    
    * src/editfns.c (region_limit, syms_of_editfns): Remove local extern
    declarations.
    
    * src/emacs.c (main): Remove local extern declaration.
    
    * src/font.c (Qnormal, QCtype, QCfamily, QCweight, QCs...
    eec47d6b
emacs.c 75.6 KB