Resolve compiler warnings and udpate CFLAGS
This commit is contained in:
parent
436e769819
commit
83cd5a9750
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -8,7 +8,7 @@ BINDIR = $(PREFIX)/bin
|
|||
|
||||
LDFLAGS != pkg-config --libs libnotify
|
||||
INCFLAGS != pkg-config --cflags libnotify
|
||||
CFLAGS = -O3 -march=native -mtune=native -pipe -s -std=c99 -flto -pedantic -Wall $(INCFLAGS)
|
||||
CFLAGS = -Os -march=native -mtune=native -pipe -s -std=c99 -flto -pedantic -Wall $(INCFLAGS)
|
||||
|
||||
SRC = ssm.c
|
||||
|
||||
|
|
2
ssm.c
2
ssm.c
|
@ -24,7 +24,7 @@ typedef struct {
|
|||
} event;
|
||||
|
||||
char *
|
||||
get_database_path()
|
||||
get_database_path(void)
|
||||
{
|
||||
char *db = DATABASE_PATH;
|
||||
char *db_path;
|
||||
|
|
Loading…
Reference in a new issue