Commit 3c251401 authored by Giovanne Marcelo's avatar Giovanne Marcelo

change db_api to fb_interface

parent 3784e5b4
Pipeline #6334 passed with stage
in 1 minute and 19 seconds
......@@ -2,7 +2,7 @@ CC = gcc
CFLAGS = -std=c99 -g -O3 \
-pipe \
-ggdb3 -Wstrict-overflow=5 -fstack-protector-all \
-W -Wall -Wextra \
-W -Wall -Wextra \
-Wbad-function-cast \
-Wcast-align \
-Wcast-qual \
......@@ -38,8 +38,8 @@ CFLAGS = -std=c99 -g -O3 \
LFLAGS = -lpq -ljansson
INCL = -I./include
SRC = ./src
DEPS = ./include/db_api.h ./include/log.h ./include/main.h
OBJ = db_api.o log.o main.o
DEPS = ./include/db_interface.h ./include/log.h ./include/main.h
OBJ = db_interface.o log.o main.o
APP=recommender
all: $(APP)
......
#ifndef _DB_API_H
#define _DB_API_H
#ifndef _DB_INTERFACE_H
#define _DB_INTERFACE_H
#define CONNINFO_LEN 350
#define QUERY_LEN 350
......
#ifndef _MAIN_H
#define _MAIN_H
#include "db_api.h"
#include "db_interface.h"
#endif
......@@ -6,7 +6,7 @@
*
*/
#include "db_api.h"
#include "db_interface.h"
void read_conf(const char *path, char * conninfo) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment