mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 21:33:59 +02:00
brmbar.c uses definitions now
Signed-off-by: Cestmir Houska <czestmyr@gmail.com>
This commit is contained in:
parent
56c86964b2
commit
564f8ab87c
1 changed files with 6 additions and 4 deletions
8
brmbar.c
8
brmbar.c
|
@ -1,10 +1,11 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include "defines.h"
|
||||||
|
|
||||||
struct item {
|
struct item {
|
||||||
char *ean;
|
char ean[EAN_MAXLEN];
|
||||||
char *name;
|
char name[NAME_MAXLEN];
|
||||||
int price;
|
int price;
|
||||||
} items[100];
|
} items[ITEM_MAXNUM];
|
||||||
|
|
||||||
void fill_items()
|
void fill_items()
|
||||||
{
|
{
|
||||||
|
@ -21,3 +22,4 @@ int main()
|
||||||
fill_items();
|
fill_items();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue