Skip to content

Commit

Permalink
Merge pull request #28 from mlund/clang-reformat
Browse files Browse the repository at this point in the history
Apply clang-format
  • Loading branch information
mlund authored Jul 18, 2023
2 parents 0dcf4c6 + 89d5a5a commit 8ee943b
Show file tree
Hide file tree
Showing 24 changed files with 2,221 additions and 2,039 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ set(CLANG_WARNINGS
-Wformat=2 # warn on security issues around functions that format output (ie printf)
-Wimplicit-fallthrough # warn on statements that fallthrough without an explicit annotation
-Wpedantic # warn if non-standard C/C++ is used
-Wlanguage-extension-token
)
target_compile_options(mega65libc PRIVATE -mcpu=mos65c02 -Os ${CLANG_WARNINGS})

Expand Down
659 changes: 353 additions & 306 deletions include/conio.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion include/debug.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
void debug_msg(char *m);
void debug_msg(char* m);
13 changes: 6 additions & 7 deletions include/dirent.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
unsigned char opendir(void);
struct m65_dirent *readdir(unsigned char);
struct m65_dirent* readdir(unsigned char);
void closedir(unsigned char);

struct m65_dirent {
uint32_t d_ino;
uint16_t d_off;
uint32_t d_reclen;
uint16_t d_type;
char d_name[256];
uint32_t d_ino;
uint16_t d_off;
uint32_t d_reclen;
uint16_t d_type;
char d_name[256];
};

Loading

0 comments on commit 8ee943b

Please sign in to comment.