Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
atinout
atinout-fix-build.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File atinout-fix-build.patch of Package atinout
diff --git a/Makefile b/Makefile index 1daa431..c4525db 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ VERSION = 0.9.1 -PREFIX = /usr +PREFIX ?= /usr CC = gcc -CFLAGS = -W -Wall -Wextra -Werror \ +CFLAGS += -W -Wall -Wextra -Werror \ -DVERSION=\"$(VERSION)\" \ -g -LDFLAGS = +LDFLAGS ?= all: atinout diff --git a/atinout.c b/atinout.c index 4801547..ae0444e 100644 --- a/atinout.c +++ b/atinout.c @@ -141,7 +141,7 @@ static bool is_final_result(const char * const response) if (strcmp(&response[1], "K\r\n") == 0) { return true; } - /* no break */ + // fallthrough default: return false; } @@ -170,7 +170,7 @@ int main(int argc, char *argv[]) help(argv[0]); return EXIT_SUCCESS; case 'V': - printf("atinout version " VERSION "\n"); + printf("atinout version %s \n", VERSION); if (argc == 2) { printf("Copyright (C) 2013 Håkon Løvdal <hlovdal@users.sourceforge.net>\n" "This program comes with ABSOLUTELY NO WARRANTY.\n"
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