Eran Kravitz
2005-09-23 00:40:37 UTC
I have a problem calling the Def_Handler() and Ign_Handler() functions
that are in libc/signal.c. I tried declaring these functions in
libc/signal.h but I get an error message saying that there is an
undefined reference to these functions whenever I try to use them in a
different file (after including the .h file). The weird thing is that if
I try to put in an argument, it does say "Too many arguments..." so it
does "see" the declaration, however the reference to the function is not
there. By the way, in libc/signal.c the libc/signal.h file is NOT
included, why is that? Anyways, including it doesn't change anything. I
can't use any of the functions in libc/signal.h in other files, even the
ones that were already included there (like Signal() or Kill()).
Any suggestions?
that are in libc/signal.c. I tried declaring these functions in
libc/signal.h but I get an error message saying that there is an
undefined reference to these functions whenever I try to use them in a
different file (after including the .h file). The weird thing is that if
I try to put in an argument, it does say "Too many arguments..." so it
does "see" the declaration, however the reference to the function is not
there. By the way, in libc/signal.c the libc/signal.h file is NOT
included, why is that? Anyways, including it doesn't change anything. I
can't use any of the functions in libc/signal.h in other files, even the
ones that were already included there (like Signal() or Kill()).
Any suggestions?