瀏覽代碼

security: Convert use of typedef ctl_table to struct ctl_table

This typedef is unnecessary and should just be removed.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Joe Perches 11 年之前
父節點
當前提交
fab71a90ed
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      security/keys/sysctl.c

+ 1 - 1
security/keys/sysctl.c

@@ -15,7 +15,7 @@
 
 
 static const int zero, one = 1, max = INT_MAX;
 static const int zero, one = 1, max = INT_MAX;
 
 
-ctl_table key_sysctls[] = {
+struct ctl_table key_sysctls[] = {
 	{
 	{
 		.procname = "maxkeys",
 		.procname = "maxkeys",
 		.data = &key_quota_maxkeys,
 		.data = &key_quota_maxkeys,