summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-09-26 23:00:36 +0200
committerDavid 'Digit' Turner <digit@google.com>2010-09-27 17:35:26 +0200
commitbd8d987b3c3aa6d9d00cede2cb091f00bdb42204 (patch)
treecdc35d78d1da7fa4d2b5cd6212b559fb7722f87d
parentb9e49ad56e5776ace7c6eab2e997d5b7acb16792 (diff)
downloadbionic-bd8d987b3c3aa6d9d00cede2cb091f00bdb42204.zip
bionic-bd8d987b3c3aa6d9d00cede2cb091f00bdb42204.tar.gz
bionic-bd8d987b3c3aa6d9d00cede2cb091f00bdb42204.tar.bz2
libc: remove C++ comments from public headers.
Change-Id: I4af84f912062cd2ff34711c25122fb323f20c032
-rw-r--r--libc/arch-arm/include/machine/_types.h2
-rw-r--r--libc/include/pthread.h2
-rw-r--r--libc/include/sys/file.h2
-rw-r--r--libc/include/sys/ioctl_compat.h4
-rw-r--r--libc/include/sys/ptrace.h2
-rw-r--r--libc/include/utmp.h2
6 files changed, 6 insertions, 8 deletions
diff --git a/libc/arch-arm/include/machine/_types.h b/libc/arch-arm/include/machine/_types.h
index 6d10e12..3e779ca 100644
--- a/libc/arch-arm/include/machine/_types.h
+++ b/libc/arch-arm/include/machine/_types.h
@@ -46,8 +46,6 @@ typedef long ssize_t;
typedef long ptrdiff_t;
#endif
-//#include <linux/types.h>
-
/* 7.18.1.1 Exact-width integer types */
typedef __signed char __int8_t;
typedef unsigned char __uint8_t;
diff --git a/libc/include/pthread.h b/libc/include/pthread.h
index 9773dcb..99e747a 100644
--- a/libc/include/pthread.h
+++ b/libc/include/pthread.h
@@ -309,4 +309,4 @@ extern void __pthread_cleanup_pop(__pthread_cleanup_t* c,
#define LONG_LONG_MAX __LONG_LONG_MAX__
#define LONG_LONG_MIN (-__LONG_LONG_MAX__ - 1)
-#endif // _PTHREAD_H_
+#endif /* _PTHREAD_H_ */
diff --git a/libc/include/sys/file.h b/libc/include/sys/file.h
index 06937ff..cf2f4b1 100644
--- a/libc/include/sys/file.h
+++ b/libc/include/sys/file.h
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>
-// ANDROID: needed for flock()
+/* ANDROID: needed for flock() */
#include <unistd.h>
#include <fcntl.h>
diff --git a/libc/include/sys/ioctl_compat.h b/libc/include/sys/ioctl_compat.h
index d79b67a..cab5c80 100644
--- a/libc/include/sys/ioctl_compat.h
+++ b/libc/include/sys/ioctl_compat.h
@@ -39,8 +39,8 @@
#ifndef _SYS_IOCTL_COMPAT_H_
#define _SYS_IOCTL_COMPAT_H_
-//#include <sys/ttychars.h>
-//#include <sys/ttydev.h>
+/*#include <sys/ttychars.h>*/
+/*#include <sys/ttydev.h>*/
struct tchars {
char t_intrc; /* interrupt */
diff --git a/libc/include/sys/ptrace.h b/libc/include/sys/ptrace.h
index 78a057a..848416b 100644
--- a/libc/include/sys/ptrace.h
+++ b/libc/include/sys/ptrace.h
@@ -30,7 +30,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>
-// For all of the defines
+/* For all of the defines */
#include <linux/ptrace.h>
__BEGIN_DECLS
diff --git a/libc/include/utmp.h b/libc/include/utmp.h
index e362b40..ffd3c92 100644
--- a/libc/include/utmp.h
+++ b/libc/include/utmp.h
@@ -87,4 +87,4 @@ struct utmp* getutent();
__END_DECLS
-#endif // _UTMP_H_
+#endif /* _UTMP_H_ */