Guest User

Untitled

a guest
Feb 28th, 2022
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. In file included from Main.c:5:
  2. /usr/include/stdlib.h:362:1: error: function definition is not allowed here
  3. {
  4. ^
  5. /usr/include/stdlib.h:367:1: error: function definition is not allowed here
  6. {
  7. ^
  8. /usr/include/stdlib.h:374:1: error: function definition is not allowed here
  9. {
  10. ^
  11. In file included from Main.c:5:
  12. In file included from /usr/include/stdlib.h:825:
  13. /usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:22:1: error: function definition is not allowed here
  14. {
  15. ^
  16. In file included from Main.c:5:
  17. In file included from /usr/include/stdlib.h:1013:
  18. /usr/include/x86_64-linux-gnu/bits/stdlib-float.h:26:1: error: function definition is not allowed here
  19. {
  20. ^
  21. Main.c:24:1: error: function definition is not allowed here
  22. {
  23. ^
  24. Main.c:107:24: error: function definition is not allowed here
  25. int height(node* root) {
  26. ^
  27. Main.c:112:23: error: function definition is not allowed here
  28. int max(int a, int b) {
  29. ^
  30. 8 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment