From e595b7fd4bc7c3ada08295c4535923c2f596fb15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Fri, 23 Aug 2024 11:05:35 +0200 Subject: [PATCH] headers/bsd: fix comments after #endif gcc2 complains otherwise when using -ansi -pedantic-errors that "text afer `#endif' violates ANSI standard" because it doesn't recognize C++ comments in C mode. Change-Id: Icb091d15a4324625ce305aa89391c44a94f4a38e Reviewed-on: https://review.haiku-os.org/c/haiku/+/8094 Reviewed-by: Adrien Destugues Tested-by: Commit checker robot --- headers/compatibility/bsd/features.h | 2 +- headers/compatibility/bsd/pty.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/headers/compatibility/bsd/features.h b/headers/compatibility/bsd/features.h index fc76b1da02..c01a99b7ff 100644 --- a/headers/compatibility/bsd/features.h +++ b/headers/compatibility/bsd/features.h @@ -20,4 +20,4 @@ #endif -#endif // _FEATURES_H +#endif /* _FEATURES_H */ diff --git a/headers/compatibility/bsd/pty.h b/headers/compatibility/bsd/pty.h index 1bfdc851f6..d40b15470a 100644 --- a/headers/compatibility/bsd/pty.h +++ b/headers/compatibility/bsd/pty.h @@ -28,4 +28,4 @@ __END_DECLS #endif -#endif // _BSD_PTY_H_ +#endif /* _BSD_PTY_H_ */