Skip to content

Commit

Permalink
Raspberry Pi OS gcc is more picky on multiple definitions than Ubuntu…
Browse files Browse the repository at this point in the history
…, fix it
  • Loading branch information
Hermann-SW committed Jun 23, 2022
1 parent 712fcc7 commit f865cfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions list.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

#include "list.h"

num TOPIT,TOPITH,TOPITH1;

num uni_aux;

num *_U_;
Expand Down
2 changes: 1 addition & 1 deletion list.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
#define FREEEL _U_[4]
#define FREESZ _U_[5]

num TOPIT,TOPITH,TOPITH1;
extern num TOPIT,TOPITH,TOPITH1;

#define IS_NUM(X) (_T_(X)==t_num)
#define IS_LIST(X) (_T_(X)==t_list)
Expand Down

0 comments on commit f865cfa

Please sign in to comment.