Change return type of stack_push from void
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 29 Feb 2024 09:29:12 +0000 (10:29 +0100)
committerLukas Jiriste <ljiriste@student.42prague.com>
Thu, 29 Feb 2024 09:29:12 +0000 (10:29 +0100)
commitc957257eee0eff569c91743ae6e3f80a00512e82
tree7779ca7c95119dc72fd5f9e8257f877be41b3b26
parent121f339202d15ce904990200102e5845074c91c1
Change return type of stack_push from void

Previously the return type was void as handling any error was percieved
as too annoying and action_push must have been void anyway.
This change is done for future changes that may benefit from the
information of error, while the return value is ignored in the
functions that expect void.
src/checker.h
src/stack_manipulation.c