mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-07 21:04:00 +02:00
small changes
This commit is contained in:
parent
f5fe42ab86
commit
cd804dcd45
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
||||||
CC=bcc
|
CC=bcc
|
||||||
CFLAGS=-Md
|
CFLAGS=-Md -W
|
||||||
|
|
||||||
brmbar.com: brmbar.c
|
brmbar.com: brmbar.c
|
||||||
$(CC) $(CFLAGS) brmbar.c -o brmbar.com
|
$(CC) $(CFLAGS) brmbar.c -o brmbar.com
|
||||||
|
|
2
brmbar.c
2
brmbar.c
|
@ -1,6 +1,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int read_items()
|
void read_items()
|
||||||
{
|
{
|
||||||
char buf[128];
|
char buf[128];
|
||||||
FILE *f = fopen("items.txt", "r");
|
FILE *f = fopen("items.txt", "r");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue