Changeset 1101


Ignore:
Timestamp:
Feb 6, 2007, 12:37:55 AM (13 years ago)
Author:
bruno
Message:

Clean up some compiler warnings (Michel Loiseleur <mloiseleur_at_linagora.com>)

Location:
branches/stable/mondo/src/common
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/common/libmondo-devices.h

    r128 r1101  
    22 * $Id$
    33 */
     4
     5#ifndef LIBMONDO_DEVICES_H
     6# define LIBMONDO_DEVICES_H
    47
    58bool am_I_in_disaster_recovery_mode(void);
     
    3942int eject_device(char *);
    4043
    41 char *list_of_NFS_devices_and_mounts();
    42 char *list_of_NFS_mounts_only();
     44char *list_of_NFS_devices_and_mounts(void);
     45char *list_of_NFS_mounts_only(void);
    4346
    4447void sensibly_set_tmpdir_and_scratchdir(struct s_bkpinfo *bkpinfo);
     
    6063
    6164char *which_partition_format(const char *drive);
     65
     66#endif /* LIBMONDO_DEVICES_H */
  • branches/stable/mondo/src/common/libmondo-tools-EXT.h

    r128 r1101  
    1 /* libmondo-tools-EXT.h */
     1/* $Id$ */
     2
     3#ifndef LIBMONDO_TOOLS_EXT_H
     4# define LIBMONDO_TOOLS_EXT_H
    25
    36extern void clean_up_KDE_desktop_if_necessary(void);
    4 extern long get_time();
     7extern long get_time(void);
    58extern void (*log_debug_msg) (int debug_level, const char *szFile,
    69                              const char *szFunction, int nLine,
     
    1821#endif
    1922extern void log_trace(char *o);
    20 extern int some_basic_system_sanity_checks();
     23extern int some_basic_system_sanity_checks(void);
    2124
    2225
     
    4245extern void free_libmondo_global_strings(void);
    4346
    44 extern double get_kernel_version();
    45 extern char *get_architecture();
     47extern double get_kernel_version(void);
     48extern char *get_architecture(void);
    4649
    4750extern bool does_nonMS_partition_exist(void);
     
    5255extern void stop_autofs_if_necessary(void);
    5356extern void restart_autofs_if_necessary(void);
     57
     58#endif /* LIBMONDO_TOOLS_EXT_H */
  • branches/stable/mondo/src/common/newt-specific-EXT.h

    r128 r1101  
    55extern bool ask_me_OK_or_cancel(char *prompt);
    66extern void close_evalcall_form(void);
    7 extern void close_progress_form();
     7extern void close_progress_form(void);
    88extern void fatal_error(char *error_string);
    99extern void finish(int signal);
     
    1818                                 int maxsize);
    1919extern bool popup_with_buttons(char *p, char *button1, char *button2);
    20 extern void refresh_log_screen();
    21 extern void setup_newt_stuff();
     20extern void refresh_log_screen(void);
     21extern void setup_newt_stuff(void);
    2222extern void update_evalcall_form_ratio(int num, int denom);
    2323extern void update_evalcall_form(int curr);
     
    3131
    3232extern t_bkptype which_backup_media_type(bool);
    33 extern int which_compression_level();
     33extern int which_compression_level(void);
    3434
    3535
Note: See TracChangeset for help on using the changeset viewer.