Skip to content

Commit

Permalink
libc: Add room for one more exit function
Browse files Browse the repository at this point in the history
  • Loading branch information
pussuw committed May 4, 2022
1 parent e011272 commit 46e8964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/libc/stdlib/atexit.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
# define CONFIG_SCHED_ONEXIT_MAX 1
#endif

#define _ATEXIT_MAX (CONFIG_SCHED_ATEXIT_MAX + CONFIG_SCHED_ONEXIT_MAX)
#define _ATEXIT_MAX (CONFIG_SCHED_ATEXIT_MAX + CONFIG_SCHED_ONEXIT_MAX + 1)

/****************************************************************************
* Public Types
Expand Down

0 comments on commit 46e8964

Please sign in to comment.