View | Details | Raw Unified | Return to bug 1112
Collapse All | Expand All

(-)defines.h.orig (-4 lines)
Lines 442-451 struct winsize { Link Here
442
# define __attribute__(x)
451
# define __attribute__(x)
443
#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */
452
#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */
444
453
445
#ifndef __dead
446
# define __dead	__attribute__((noreturn))
447
#endif
448
449
#if !defined(HAVE_ATTRIBUTE__SENTINEL__) && !defined(__sentinel__)
454
#if !defined(HAVE_ATTRIBUTE__SENTINEL__) && !defined(__sentinel__)
450
# define __sentinel__
455
# define __sentinel__
451
#endif
456
#endif
(-)log.h.orig (-2 / +2 lines)
Lines 53-59 void log_init(char *, LogLevel, Sysl Link Here
53
SyslogFacility	log_facility_number(char *);
53
SyslogFacility	log_facility_number(char *);
54
LogLevel log_level_number(char *);
54
LogLevel log_level_number(char *);
55
55
56
void     fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2)));
56
void     fatal(const char *, ...) __attribute__((noreturn)) __attribute__((format(printf, 1, 2)));
57
void     error(const char *, ...) __attribute__((format(printf, 1, 2)));
57
void     error(const char *, ...) __attribute__((format(printf, 1, 2)));
58
void     logit(const char *, ...) __attribute__((format(printf, 1, 2)));
58
void     logit(const char *, ...) __attribute__((format(printf, 1, 2)));
59
void     verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
59
void     verbose(const char *, ...) __attribute__((format(printf, 1, 2)));
Lines 62-66 void debug2(const char *, ...) __att Link Here
62
void     debug3(const char *, ...) __attribute__((format(printf, 1, 2)));
62
void     debug3(const char *, ...) __attribute__((format(printf, 1, 2)));
63
63
64
void	 do_log(LogLevel, const char *, va_list);
64
void	 do_log(LogLevel, const char *, va_list);
65
void	 cleanup_exit(int) __dead;
65
void	 cleanup_exit(int) __attribute__((noreturn));
66
#endif
66
#endif

Return to bug 1112