mirror of
https://github.com/brmlab/brmbar.git
synced 2025-06-08 13:24:01 +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 "defines.h"
|
||||
|
||||
struct item {
|
||||
char *ean;
|
||||
char *name;
|
||||
char ean[EAN_MAXLEN];
|
||||
char name[NAME_MAXLEN];
|
||||
int price;
|
||||
} items[100];
|
||||
} items[ITEM_MAXNUM];
|
||||
|
||||
void fill_items()
|
||||
{
|
||||
|
@ -21,3 +22,4 @@ int main()
|
|||
fill_items();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue