-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1151 from mintsuki/remove-c99-comments-in-headers
misc: Remove C99+ style single line comments from headers
- Loading branch information
Showing
294 changed files
with
731 additions
and
731 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
#define AT_RANDOM 25 | ||
#define AT_EXECFN 31 | ||
|
||
#endif // _ABIBITS_AUXV_H | ||
#endif /* _ABIBITS_AUXV_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
#define W_OK 4 | ||
#define X_OK 8 | ||
|
||
#endif // _ABIBITS_ACCESS_H | ||
#endif /* _ABIBITS_ACCESS_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#ifndef _ABIBITS_BLKCNT_T_H | ||
#define _ABIBITS_BLKCNT_T_H | ||
|
||
// TODO: use int64_t? | ||
/* TODO: use int64_t? */ | ||
typedef long blkcnt_t; | ||
|
||
#endif // _ABIBITS_BLKCNT_T_H | ||
#endif /* _ABIBITS_BLKCNT_T_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#ifndef _ABIBITS_BLKSIZE_T_H | ||
#define _ABIBITS_BLKSIZE_T_H | ||
|
||
// TODO: use int64_t? | ||
/* TODO: use int64_t? */ | ||
typedef long blksize_t; | ||
|
||
#endif // _ABIBITS_BLKSIZE_T_H | ||
#endif /* _ABIBITS_BLKSIZE_T_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
typedef unsigned long dev_t; | ||
|
||
#endif // _ABIBITS_DEV_T_H | ||
#endif /* _ABIBITS_DEV_T_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
#define EPOLL_CLOEXEC 1 | ||
|
||
#endif // _ABIBITS_EPOLL_H | ||
#endif /* _ABIBITS_EPOLL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -123,4 +123,4 @@ | |
|
||
#define EIEIO 1524152434 | ||
|
||
#endif // _ABIBITS_ERRNO_H | ||
#endif /* _ABIBITS_ERRNO_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
typedef unsigned int gid_t; | ||
|
||
#endif // _ABIBITS_GID_T_H | ||
#endif /* _ABIBITS_GID_T_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#ifndef _ABIBITS_INO_T_H | ||
#define _ABIBITS_INO_T_H | ||
|
||
// TODO: use (u)int64_t? | ||
/* TODO: use (u)int64_t? */ | ||
typedef long ino_t; | ||
|
||
#endif // _ABIBITS_INO_T_H | ||
#endif /* _ABIBITS_INO_T_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
#define IN_CLOEXEC 1 | ||
#define IN_NONBLOCK 2 | ||
|
||
#endif // _ABIBITS_INOTIFY_H | ||
#endif /* _ABIBITS_INOTIFY_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
typedef int mode_t; | ||
|
||
#endif // _ABIBITS_MODE_T_H | ||
#endif /* _ABIBITS_MODE_T_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
typedef int nlink_t; | ||
|
||
#endif // _ABIBITS_NLINK_T_H | ||
#endif /* _ABIBITS_NLINK_T_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
#define PACKET_HOST 0 | ||
|
||
#endif // _ABIBITS_PACKET_H | ||
#endif /* _ABIBITS_PACKET_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
typedef int pid_t; | ||
|
||
#endif // _ABIBITS_PID_T_H | ||
#endif /* _ABIBITS_PID_T_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ | |
#define POLLWRBAND 0x200 | ||
#define POLLRDBAND 0x400 | ||
|
||
#endif // _ABIBITS_POLL_H | ||
#endif /* _ABIBITS_POLL_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,4 @@ | |
|
||
#define PTRACE_PEEKSIGINFO_SHARED 1 | ||
|
||
#endif // _ABIBITS_PTRACE_H | ||
#endif /* _ABIBITS_PTRACE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,4 +50,4 @@ struct rusage { | |
} | ||
#endif | ||
|
||
#endif // _ABIBITS_RESOURCE_H | ||
#endif /* _ABIBITS_RESOURCE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
#define SEEK_CUR 2 | ||
#define SEEK_END 4 | ||
|
||
#endif // _ABIBITS_SEEK_WHENCE_H | ||
#endif /* _ABIBITS_SEEK_WHENCE_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,4 +66,4 @@ struct stat { | |
} | ||
#endif | ||
|
||
#endif // _ABIBITS_STAT_H | ||
#endif /* _ABIBITS_STAT_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,4 @@ | |
|
||
typedef unsigned int uid_t; | ||
|
||
#endif // _ABIBITS_UID_T_H | ||
#endif /* _ABIBITS_UID_T_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ struct utsname { | |
char machine[65]; | ||
}; | ||
|
||
#endif // _ABIBITS_UTSNAME_T_H | ||
#endif /* _ABIBITS_UTSNAME_T_H */ |
Oops, something went wrong.