aboutsummaryrefslogtreecommitdiff
path: root/sys/fs/procfs
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2002-10-20 21:30:02 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2002-10-20 21:30:02 +0000
commit659d5e21c753f2093ac0f3dea059a10d9f0065b1 (patch)
tree9ad9dac8b57bec32cabe020136f390dbab33cadd /sys/fs/procfs
parent2f030624b1868c3fddef8433322e67b0e3e69700 (diff)
downloadsrc-659d5e21c753f2093ac0f3dea059a10d9f0065b1.tar.gz
src-659d5e21c753f2093ac0f3dea059a10d9f0065b1.zip
Remove even more '&' from pointers to functions.
Spotted by: FlexeLint
Notes
Notes: svn path=/head/; revision=105560
Diffstat (limited to 'sys/fs/procfs')
-rw-r--r--sys/fs/procfs/procfs.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/sys/fs/procfs/procfs.c b/sys/fs/procfs/procfs.c
index d91d23e7a456..e99653a1b2ba 100644
--- a/sys/fs/procfs/procfs.c
+++ b/sys/fs/procfs/procfs.c
@@ -148,40 +148,40 @@ procfs_init(PFS_INIT_ARGS)
root = pi->pi_root;
- pfs_create_link(root, "curproc", &procfs_docurproc,
+ pfs_create_link(root, "curproc", procfs_docurproc,
NULL, NULL, 0);
dir = pfs_create_dir(root, "pid",
- &procfs_attr, NULL, PFS_PROCDEP);
- dir->pn_refreshlabel = &procfs_piddir_refreshlabel;
- pfs_create_file(dir, "cmdline", &procfs_doproccmdline,
+ procfs_attr, NULL, PFS_PROCDEP);
+ dir->pn_refreshlabel = procfs_piddir_refreshlabel;
+ pfs_create_file(dir, "cmdline", procfs_doproccmdline,
NULL, NULL, PFS_RD);
- pfs_create_file(dir, "ctl", &procfs_doprocctl,
- &procfs_attr, NULL, PFS_WR);
- pfs_create_file(dir, "dbregs", &procfs_doprocdbregs,
- &procfs_attr, &procfs_candebug, PFS_RDWR|PFS_RAW);
- pfs_create_file(dir, "etype", &procfs_doproctype,
+ pfs_create_file(dir, "ctl", procfs_doprocctl,
+ procfs_attr, NULL, PFS_WR);
+ pfs_create_file(dir, "dbregs", procfs_doprocdbregs,
+ procfs_attr, procfs_candebug, PFS_RDWR|PFS_RAW);
+ pfs_create_file(dir, "etype", procfs_doproctype,
NULL, NULL, PFS_RD);
- pfs_create_file(dir, "fpregs", &procfs_doprocfpregs,
- &procfs_attr, &procfs_candebug, PFS_RDWR|PFS_RAW);
- pfs_create_file(dir, "map", &procfs_doprocmap,
- NULL, &procfs_notsystem, PFS_RD);
- node = pfs_create_file(dir, "mem", &procfs_doprocmem,
- &procfs_attr, &procfs_candebug, PFS_RDWR|PFS_RAW);
- node->pn_ioctl = &procfs_ioctl;
- node->pn_close = &procfs_close;
- pfs_create_file(dir, "note", &procfs_doprocnote,
- &procfs_attr, &procfs_candebug, PFS_WR);
- pfs_create_file(dir, "notepg", &procfs_doprocnote,
- &procfs_attr, &procfs_candebug, PFS_WR);
- pfs_create_file(dir, "regs", &procfs_doprocregs,
- &procfs_attr, &procfs_candebug, PFS_RDWR|PFS_RAW);
- pfs_create_file(dir, "rlimit", &procfs_doprocrlimit,
+ pfs_create_file(dir, "fpregs", procfs_doprocfpregs,
+ procfs_attr, procfs_candebug, PFS_RDWR|PFS_RAW);
+ pfs_create_file(dir, "map", procfs_doprocmap,
+ NULL, procfs_notsystem, PFS_RD);
+ node = pfs_create_file(dir, "mem", procfs_doprocmem,
+ procfs_attr, procfs_candebug, PFS_RDWR|PFS_RAW);
+ node->pn_ioctl = procfs_ioctl;
+ node->pn_close = procfs_close;
+ pfs_create_file(dir, "note", procfs_doprocnote,
+ procfs_attr, procfs_candebug, PFS_WR);
+ pfs_create_file(dir, "notepg", procfs_doprocnote,
+ procfs_attr, procfs_candebug, PFS_WR);
+ pfs_create_file(dir, "regs", procfs_doprocregs,
+ procfs_attr, procfs_candebug, PFS_RDWR|PFS_RAW);
+ pfs_create_file(dir, "rlimit", procfs_doprocrlimit,
NULL, NULL, PFS_RD);
- pfs_create_file(dir, "status", &procfs_doprocstatus,
+ pfs_create_file(dir, "status", procfs_doprocstatus,
NULL, NULL, PFS_RD);
- pfs_create_link(dir, "file", &procfs_doprocfile,
+ pfs_create_link(dir, "file", procfs_doprocfile,
NULL, procfs_notsystem, 0);
return (0);