Changeset 1064 in MondoRescue for branches/stable/mondo/src/include


Ignore:
Timestamp:
Jan 23, 2007, 1:09:32 AM (17 years ago)
Author:
Bruno Cornec
Message:

More controls at the compiler level
still working with the problems around variable arguments

Location:
branches/stable/mondo/src/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mondo/src/include/mr_conf.h

    r1054 r1064  
    1919/*initialization and closing*/
    2020extern int mr_conf_open(const char *filename);
    21 extern void mr_conf_close();
     21extern void mr_conf_close(void);
    2222
    2323/*read integer number after string str in the current file*/
  • branches/stable/mondo/src/include/mr_err.h

    r1054 r1064  
    1111/* functions (public methods) */
    1212
    13 extern void mr_exit(int errorcode, const char *message);
    14 extern void mr_log_exit(int errorcode, const char *message);
     13extern inline void mr_exit(int errorcode, const char *message);
     14extern inline void mr_log_exit(int errorcode, const char *message);
    1515
    1616#endif                          /* MR_ERR_H */
  • branches/stable/mondo/src/include/mr_mem.h

    r1061 r1064  
    1616/* functions (public methods) */
    1717
    18 extern void mr_free(char *allocated);
    19 extern void mr_allocstr(char *alloc, const char *orig);
    20 extern void mr_asprintf(char **alloc, const char *fmt, va_list args);
    21 extern void mr_getline(char **lineptr, size_t *n, FILE *stream);
    22 extern void *mr_malloc(size_t size);
     18extern inline void mr_free(char *allocated);
     19extern inline void mr_allocstr(char *alloc, const char *orig);
     20extern inline void mr_asprintf(char **alloc, const char *fmt, ...);
     21extern inline void mr_getline(char **lineptr, size_t *n, FILE *stream);
     22extern inline void *mr_malloc(size_t size);
    2323
    2424#endif                          /* MR_MEM_H */
  • branches/stable/mondo/src/include/mr_msg.h

    r1061 r1064  
    1616/* functions (public methods) */
    1717
    18 extern void mr_msg(int debug, const char *fmt, va_list args);
     18extern inline void mr_msg(int debug, const char *fmt, ...);
     19extern void mr_msg_init(const char *configfile, int loglevel);
     20extern void mr_msg_close(void);
    1921
    2022#endif                          /* MR_MSG_H */
  • branches/stable/mondo/src/include/mr_str.h

    r1054 r1064  
    1111/* functions (public methods) */
    1212
    13 extern char *mr_strtok(char *instr, const char *delims, int *lastpos);
    14 extern char *mr_stresc(char *instr, char *toesc, const char escchr);
     13extern inline char *mr_strtok(char *instr, const char *delims, int *lastpos);
     14extern inline char *mr_stresc(char *instr, char *toesc, const char escchr);
    1515
    1616#endif                          /* MR_STR_H */
Note: See TracChangeset for help on using the changeset viewer.