Changeset 3861 in MondoRescue for branches/3.3/mondo/src/common


Ignore:
Timestamp:
Mar 7, 2024, 11:01:16 AM (16 months ago)
Author:
Bruno Cornec
Message:

Fix proto for mvaddstr_and_log_it and does_file_exist

Location:
branches/3.3/mondo/src/common
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/common/libmondo-files-EXT.h

    r3610 r3861  
    88extern char *calc_checksum_of_file(char *filename);
    99extern long count_lines_in_file(char *filename);
    10 extern bool does_file_exist(char *filename);
     10extern bool does_file_exist(const char *filename);
    1111extern void exclude_nonexistent_files(char *inout);
    1212extern int figure_out_kernel_path_interactively_if_necessary(char *kernel);
  • branches/3.3/mondo/src/common/libmondo-files.c

    r3854 r3861  
    177177 * @return TRUE if it exists, FALSE otherwise.
    178178 */
    179 bool does_file_exist(char *filename)
     179bool does_file_exist(const char *filename)
    180180{
    181181
  • branches/3.3/mondo/src/common/libmondo-files.h

    r3610 r3861  
    1010char *calc_checksum_of_file(char *filename);
    1111long count_lines_in_file(char *filename);
    12 bool does_file_exist(char *filename);
    1312void exclude_nonexistent_files(char *inout);
    1413int figure_out_kernel_path_interactively_if_necessary(char *kernel);
  • branches/3.3/mondo/src/common/libmondo-verify.h

    r3858 r3861  
    2424extern void close_progress_form(void);
    2525extern long count_lines_in_file(char *);
    26 extern bool does_file_exist(char *);
     26extern bool does_file_exist(const char *);
    2727extern void exclude_nonexistent_files(char *);
    28 extern void fatal_error(char *);
     28extern void fatal_error(const char *);
    2929extern int find_and_mount_actual_cd(char *);
    3030extern int find_cdrom_device(char *, bool);
     
    8787extern int g_current_media_number;
    8888
    89 extern void mvaddstr_and_log_it(int, int, char *);
     89extern void mvaddstr_and_log_it(int, int, const char *);
    9090
    9191extern bool ask_me_yes_or_no(char *);
  • branches/3.3/mondo/src/common/newt-specific-EXT.h

    r3858 r3861  
    88extern void fatal_error(const char *error_string);
    99extern void finish(int signal);
    10 extern void mvaddstr_and_log_it(int y, int x, char *output);
     10extern void mvaddstr_and_log_it(int y, int x, const char *output);
    1111extern void open_evalcall_form(char *title);
    1212extern void open_progress_form(char *title, char *b1, char *b2, char *b3,
  • branches/3.3/mondo/src/common/newt-specific.c

    r3858 r3861  
    578578 * @param output The string to write.
    579579 */
    580 void mvaddstr_and_log_it(int y, int x, char *output) {
     580void mvaddstr_and_log_it(int y, int x, const char *output) {
    581581
    582582        assert_string_is_neither_NULL_nor_zerolength(output);
Note: See TracChangeset for help on using the changeset viewer.