Changeset 3845 in MondoRescue


Ignore:
Timestamp:
Mar 6, 2024, 2:40:17 AM (3 months ago)
Author:
Bruno Cornec
Message:

Fix compiler warnings for FILE handling

Location:
branches/3.3/mondo/src/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3/mondo/src/include/mr_file.h

    r3613 r3845  
    2323#define mr_getcwd()         mr_getcwd_int(__LINE__,__FILE__)
    2424
    25 extern FILE *mr_fopen_int(const char *path, const char *mode,int line, char *file);
    26 extern FILE *mr_fprintf_int(FILE *stream,int line, char *file, const char *fmt, ...);
    27 extern void mr_fclose_int(FILE **fd, int line, char *file);
    28 extern void mr_mkdir_int(const char *pathname, mode_t mode, int line, char *file);
    29 extern char *mr_getcwd_int(int line, char *file);
     25extern FILE *mr_fopen_int(const char *path, const char *mode,int line, const char *file);
     26extern FILE *mr_fprintf_int(FILE *stream,int line, const char *file, const char *fmt, ...);
     27extern void mr_fclose_int(FILE **fd, int line, const char *file);
     28extern void mr_mkdir_int(const char *pathname, mode_t mode, int line, const char *file);
     29extern char *mr_getcwd_int(int line, const char *file);
    3030
    3131#endif                          /* MR_FILE_H */
  • branches/3.3/mondo/src/include/mr_mem.h

    r3837 r3845  
    2727/* Internal function bringing debuging info
    2828 * called indirectly through macros */
    29 MR_EXTERN void mr_free_int(void **allocated, int line, char *file);
    30 MR_EXTERN void mr_asprintf_int(char **alloc, int line, char *file, const char *fmt, ...);
    31 MR_EXTERN void mr_getline_int(char **lineptr, FILE *stream, int line, char *file);
    32 MR_EXTERN void *mr_malloc_int(size_t size, int line, char *file);
    33 MR_EXTERN void mr_setenv_int(const char *name, const char *value, int line, char *file);
    34 extern void mr_strcat_int(char **in, int line, char *file, const char *fmt, ...);
     29MR_EXTERN void mr_free_int(void **allocated, int line, const char *file);
     30MR_EXTERN void mr_asprintf_int(char **alloc, int line, const char *file, const char *fmt, ...);
     31MR_EXTERN void mr_getline_int(char **lineptr, FILE *stream, int line, const char *file);
     32MR_EXTERN void *mr_malloc_int(size_t size, int line, const char *file);
     33MR_EXTERN void mr_setenv_int(const char *name, const char *value, int line, const char *file);
     34MR_EXTERN void mr_strcat_int(char **in, int line, const char *file, const char *fmt, ...);
    3535
    3636#endif                          /* MR_MEM_H */
  • branches/3.3/mondo/src/include/mr_std.h

    r3708 r3845  
    22 * $Id$
    33 *
    4  *     Header file of mr_std: a set of function to qupport GNU89/C11 standards
     4 *     Header file of mr_std: a set of function to support GNU89/C11 standards
    55 *     Provided under the GPL v2
    66 */
  • branches/3.3/mondo/src/include/mr_sys.h

    r3708 r3845  
    1919/* Internal function bringing debuging info
    2020 * called indirectly through macros */
    21 MR_EXTERN int mr_system_int(int line, char *file, const char *fmt, ...);
     21MR_EXTERN int mr_system_int(int line, const char *file, const char *fmt, ...);
    2222
    2323/* functions (public methods) */
Note: See TracChangeset for help on using the changeset viewer.