<langinfo.h>/<select.h>: don't use C++ comments
This commit is contained in:
parent
7b6d45c942
commit
c625c5fd36
@ -83,9 +83,9 @@ enum {
|
||||
_NL_LANGINFO_LAST
|
||||
};
|
||||
|
||||
// According to the POSIX base specs v7, the above need to be available as
|
||||
// symbolic constants, so we define them individually to their respective
|
||||
// enumeration name.
|
||||
/* According to the POSIX base specs v7, the above need to be available as
|
||||
symbolic constants, so we define them individually to their respective
|
||||
enumeration name. */
|
||||
#define CODESET CODESET
|
||||
#define D_T_FMT D_T_FMT
|
||||
#define D_FMT D_FMT
|
||||
|
@ -43,7 +43,7 @@ typedef struct fd_set {
|
||||
#define _FD_BITSINDEX(fd) ((fd) / NFDBITS)
|
||||
#define _FD_BIT(fd) (1L << ((fd) % NFDBITS))
|
||||
|
||||
// FD_ZERO uses memset
|
||||
/* FD_ZERO uses memset */
|
||||
#include <string.h>
|
||||
|
||||
#define FD_ZERO(set) memset((set), 0, sizeof(fd_set))
|
||||
|
Loading…
Reference in New Issue
Block a user