Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/signal.h

    r491e1ee r098eeba3  
    2727 */
    2828
    29 /** @addtogroup libposix
    30  * @{
    31  */
    32 /** @file
    33  */
    34 
    3529#ifndef POSIX_SIGNAL_H_
    3630#define POSIX_SIGNAL_H_
    3731
    38 #include "libc/errno.h"
     32#include <errno.h>
    3933
    4034/* HelenOS doesn't have signals, so calls to functions of this header
     
    4741 */
    4842
    49 #undef SIG_DFL
    5043#define SIG_DFL ((void (*)(int)) 0)
    51 #undef SIG_ERR
    5244#define SIG_ERR ((void (*)(int)) 0)
    53 #undef SIG_IGN
    5445#define SIG_IGN ((void (*)(int)) 0)
    5546
    5647#define signal(sig,func) (errno = ENOTSUP, SIG_ERR)
    57 #define raise(sig) ((int) -1)
     48#define raise(sig) ((int)-1)
    5849
    59 typedef int posix_sig_atomic_t;
     50typedef int sig_atomic_t;
    6051
    6152/* full POSIX set */
     
    9182};
    9283
    93 #ifndef LIBPOSIX_INTERNAL
    94         #define sig_atomic_t posix_sig_atomic_t
    95 #endif
    96 
    9784#endif /* POSIX_SIGNAL_H_ */
    9885
    99 /** @}
    100  */
Note: See TracChangeset for help on using the changeset viewer.