Skip to content

Conversation

Bengreen
Copy link

@Bengreen Bengreen commented Jun 8, 2016

Current C code has some of the prototypes inside or at the beginning of the .c files.

I have found that this causes some errors where functions had their return types implicity assumed later to be found out that this was wrong resulting in a SEGV. This occurred when modifying the c code and not realising that you have to manually add prototypes for all functions you wish to use at the beginning of the source you are editing.

I have created .h files for all the .c files and moved all non-static prototypes into them.

This should make future editing of c code much easier.

@galuszkak
Copy link
Collaborator

Hi @Bengreen , I see that this PR has also changes from #154 and #152 .
Could You seperate changes with *.h and *.c into seperate branch, so it has only this changes not the others?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants