Navigation


Changeset 236:60f34df3e025 in freeDiameter for include


Ignore:
Timestamp:
Mar 8, 2010, 2:10:30 PM (14 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Remove dependency on signalent.h

Location:
include/freeDiameter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/CMakeLists.txt

    r168 r236  
    9090CHECK_INCLUDE_FILES (malloc.h HAVE_MALLOC_H)
    9191
    92 # signalent.h ? -- found in strace distrib; just for nice signal names...
    93 CHECK_INCLUDE_FILES (signalent.h HAVE_SIGNALENT_H)
    94 
    9592# The default configuration file name
    9693IF (NOT DEFAULT_CONF_FILE)
  • include/freeDiameter/libfreeDiameter.h

    r235 r236  
    590590
    591591/* Name of signals */
    592 #ifdef HAVE_SIGNALENT_H
    593 extern const char *const fd_sig_str[];
    594 extern const int fd_sig_nstr;
    595 # define SIGNALSTR(sig) (((sig) < fd_sig_nstr) ? fd_sig_str[(sig)] : "[unknown signal]")
    596 #else /* HAVE_SIGNALENT_H */
    597 # define SIGNALSTR(sig) ("[no sig names]")
    598 #endif /* HAVE_SIGNALENT_H */
     592const char * fd_sig_abbrev(int signal);
    599593
    600594
Note: See TracChangeset for help on using the changeset viewer.