<langinfo.h>/<select.h>: don't use C++ comments

This commit is contained in:
Ingo Weinhold 2013-06-12 14:38:16 +02:00
parent 7b6d45c942
commit c625c5fd36
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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))