libc: remove C++ comments from public headers.
Change-Id: I4af84f912062cd2ff34711c25122fb323f20c032
This commit is contained in:
parent
b9e49ad56e
commit
bd8d987b3c
@ -46,8 +46,6 @@ typedef long ssize_t;
|
|||||||
typedef long ptrdiff_t;
|
typedef long ptrdiff_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#include <linux/types.h>
|
|
||||||
|
|
||||||
/* 7.18.1.1 Exact-width integer types */
|
/* 7.18.1.1 Exact-width integer types */
|
||||||
typedef __signed char __int8_t;
|
typedef __signed char __int8_t;
|
||||||
typedef unsigned char __uint8_t;
|
typedef unsigned char __uint8_t;
|
||||||
|
@ -309,4 +309,4 @@ extern void __pthread_cleanup_pop(__pthread_cleanup_t* c,
|
|||||||
#define LONG_LONG_MAX __LONG_LONG_MAX__
|
#define LONG_LONG_MAX __LONG_LONG_MAX__
|
||||||
#define LONG_LONG_MIN (-__LONG_LONG_MAX__ - 1)
|
#define LONG_LONG_MIN (-__LONG_LONG_MAX__ - 1)
|
||||||
|
|
||||||
#endif // _PTHREAD_H_
|
#endif /* _PTHREAD_H_ */
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
// ANDROID: needed for flock()
|
/* ANDROID: needed for flock() */
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
@ -39,8 +39,8 @@
|
|||||||
#ifndef _SYS_IOCTL_COMPAT_H_
|
#ifndef _SYS_IOCTL_COMPAT_H_
|
||||||
#define _SYS_IOCTL_COMPAT_H_
|
#define _SYS_IOCTL_COMPAT_H_
|
||||||
|
|
||||||
//#include <sys/ttychars.h>
|
/*#include <sys/ttychars.h>*/
|
||||||
//#include <sys/ttydev.h>
|
/*#include <sys/ttydev.h>*/
|
||||||
|
|
||||||
struct tchars {
|
struct tchars {
|
||||||
char t_intrc; /* interrupt */
|
char t_intrc; /* interrupt */
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
// For all of the defines
|
/* For all of the defines */
|
||||||
#include <linux/ptrace.h>
|
#include <linux/ptrace.h>
|
||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
@ -87,4 +87,4 @@ struct utmp* getutent();
|
|||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
#endif // _UTMP_H_
|
#endif /* _UTMP_H_ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user