Skip to content
Snippets Groups Projects
Verified Commit 97029f97 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

created minimal repo

parent c210df9c
No related branches found
No related tags found
No related merge requests found
*.o
main
Makefile 0 → 100644
CC=gcc
CFLAGS=-Wall -Wextra -pedantic -g -fsanitize=address
LDFLAGS=-fsanitize=address
main: main.o queue.o
$(CC) $^ -o $@ $(LDFLAGS)
queue.o: queue.c queue.h
clean:
rm -f *.o main
main.c 0 → 100644
#include "queue.h"
#include <stdlib.h>
int main() {
return EXIT_SUCCESS;
}
#include "queue.h"
#ifndef _QUEUE_H_
#define _QUEUE_H_
typedef struct _queue {
int capacity, tail;
int *data;
} queue;
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment