Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
dialog
dialog-gcc-warnings.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dialog-gcc-warnings.patch of Package dialog
Index: dialog-1.3-20160209/dialog.h =================================================================== --- dialog.h | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) --- dialog.h +++ dialog.h 2023-06-19 07:07:17.437234579 +0000 @@ -43,6 +43,23 @@ #include <string.h> #include <signal.h> /* fork() etc. */ #include <math.h> /* sqrt() */ +#include <sys/ioctl.h> /* struct winsize */ + +#ifndef GCC_NORETURN +#if defined(__GNUC__) +#define GCC_NORETURN __attribute__((noreturn)) +#else +#define GCC_NORETURN /*nothing*/ +#endif +#endif + +#ifndef GCC_UNUSED +#if defined(__GNUC__) +#define GCC_UNUSED __attribute__((unused)) +#else +#define GCC_UNUSED /*nothing*/ +#endif +#endif /* header conflict with Solaris xpg4 versus <sys/regset.h> */ #if defined(ERR) && (ERR == 13) @@ -81,14 +98,6 @@ #define GCC_PRINTFLIKE(fmt,var) /*nothing*/ #endif -#ifndef GCC_NORETURN -#define GCC_NORETURN /*nothing*/ -#endif - -#ifndef GCC_UNUSED -#define GCC_UNUSED /*nothing*/ -#endif - /* * FIXME: a configure check would be useful */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor