diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/blueshift_iccprofile.c | 4 | ||||
-rw-r--r-- | src/blueshift_idcrtc.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/blueshift_iccprofile.c b/src/blueshift_iccprofile.c index b96e682..689a2da 100644 --- a/src/blueshift_iccprofile.c +++ b/src/blueshift_iccprofile.c @@ -35,7 +35,6 @@ static xcb_connection_t* connection; static xcb_generic_error_t* error; - /** * Main entry point of the program * @@ -43,8 +42,11 @@ static xcb_generic_error_t* error; * @param argv Command line arguments * @return Zero on success */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstack-protector" int main(int argc, char** argv) { +#pragma GCC diagnostic pop char* display = NULL; xcb_screen_iterator_t iter; int screen_count; diff --git a/src/blueshift_idcrtc.c b/src/blueshift_idcrtc.c index c1f73b6..248c99e 100644 --- a/src/blueshift_idcrtc.c +++ b/src/blueshift_idcrtc.c @@ -56,8 +56,11 @@ static xcb_generic_error_t* error; * @param argv Command line arguments * @return Zero on success */ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstack-protector" int main(int argc, char** argv) { +#pragma GCC diagnostic pop char* display = NULL; xcb_randr_query_version_cookie_t version_cookie; xcb_randr_query_version_reply_t* randr_version; |