Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(402)

Unified Diff: lss/linux_syscall_support.h

Issue 11301032: Make linux_syscall_support.h compilable with -Wstrict-prototypes (Closed) Base URL: https://linux-syscall-support.googlecode.com/svn/trunk
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lss/linux_syscall_support.h
diff --git a/lss/linux_syscall_support.h b/lss/linux_syscall_support.h
index f1aad3aab9602c965a27c84e6d417d4c52626a56..fbeaf67ac3ec3a652d3b50fb9276b5814c3f2056 100644
--- a/lss/linux_syscall_support.h
+++ b/lss/linux_syscall_support.h
@@ -1800,7 +1800,7 @@ struct kernel_statfs {
LSS_RETURN(type, __res)
#undef _syscall0
#define _syscall0(type,name) \
- type LSS_NAME(name)() { \
+ type LSS_NAME(name)(void) { \
LSS_BODY(type, name); \
}
#undef _syscall1
@@ -1969,7 +1969,7 @@ struct kernel_statfs {
LSS_RETURN(type, __res)
#undef _syscall0
#define _syscall0(type, name) \
- type LSS_NAME(name)() { \
+ type LSS_NAME(name)(void) { \
LSS_BODY(type, name); \
}
#undef _syscall1
@@ -2095,7 +2095,7 @@ struct kernel_statfs {
LSS_RETURN(type, __res)
#undef _syscall0
#define _syscall0(type, name) \
- type LSS_NAME(name)() { \
+ type LSS_NAME(name)(void) { \
LSS_BODY(type, name); \
}
#undef _syscall1
@@ -2245,7 +2245,7 @@ struct kernel_statfs {
LSS_RETURN(type, __v0, __r7)
#undef _syscall0
#define _syscall0(type, name) \
- type LSS_NAME(name)() { \
+ type LSS_NAME(name)(void) { \
register unsigned long __r7 __asm__("$7"); \
LSS_BODY(type, name, "=r"); \
}
@@ -3396,7 +3396,7 @@ struct kernel_statfs {
return LSS_NAME(execve)(path, argv, (const char *const *)environ);
}
- LSS_INLINE pid_t LSS_NAME(gettid)() {
+ LSS_INLINE pid_t LSS_NAME(gettid)(void) {
pid_t tid = LSS_NAME(_gettid)();
if (tid != -1) {
return tid;
@@ -3443,7 +3443,7 @@ struct kernel_statfs {
return LSS_NAME(kill)(LSS_NAME(getpid)(), sig);
}
- LSS_INLINE int LSS_NAME(setpgrp)() {
+ LSS_INLINE int LSS_NAME(setpgrp)(void) {
return LSS_NAME(setpgid)(0, 0);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698