Bugzilla – Attachment 1020 Details for
Bug 1112
__dead conflicts with sys/cdefs.h on Interix
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch removing __dead and using __attribute__(noreturn) explicitly
x.noreturn (text/plain), 1.21 KB, created by
Todd Vierling
on 2005-11-05 15:18:45 AEDT
(
hide
)
Description:
Patch removing __dead and using __attribute__(noreturn) explicitly
Filename:
MIME Type:
Creator:
Todd Vierling
Created:
2005-11-05 15:18:45 AEDT
Size:
1.21 KB
patch
obsolete
>--- defines.h.orig 2005-08-31 12:59:49.000000000 -0400 >+++ defines.h >@@ -442,10 +451,6 @@ struct winsize { > # define __attribute__(x) > #endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ > >-#ifndef __dead >-# define __dead __attribute__((noreturn)) >-#endif >- > #if !defined(HAVE_ATTRIBUTE__SENTINEL__) && !defined(__sentinel__) > # define __sentinel__ > #endif >--- log.h.orig 2004-06-21 22:57:44.000000000 -0400 >+++ log.h >@@ -53,7 +53,7 @@ void log_init(char *, LogLevel, Sysl > SyslogFacility log_facility_number(char *); > LogLevel log_level_number(char *); > >-void fatal(const char *, ...) __dead __attribute__((format(printf, 1, 2))); >+void fatal(const char *, ...) __attribute__((noreturn)) __attribute__((format(printf, 1, 2))); > void error(const char *, ...) __attribute__((format(printf, 1, 2))); > void logit(const char *, ...) __attribute__((format(printf, 1, 2))); > void verbose(const char *, ...) __attribute__((format(printf, 1, 2))); >@@ -62,5 +62,5 @@ void debug2(const char *, ...) __att > void debug3(const char *, ...) __attribute__((format(printf, 1, 2))); > > void do_log(LogLevel, const char *, va_list); >-void cleanup_exit(int) __dead; >+void cleanup_exit(int) __attribute__((noreturn)); > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1112
: 1020