Fix more function prototypes
Subsystems (2)
PATCH v2 1/1 Fix more function prototypes
```
regex.c:545:43: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
struct trans_func *libnfsidmap_plugin_init()
^
void
1 error generated.
```See: 167f2336b06e1bcbf26f45f2ddc4a535fed4d393
Signed-off-by Sam James <[email protected]>
--- support/nfsidmap/regex.c | 2 +- utils/idmapd/idmapd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
support/nfsidmap/regex.c +1 -1
@@ -542,7 +542,7 @@ struct trans_func regex_trans = { .gss_princ_to_grouplist = regex_gss_princ_to_grouplist, }; -struct trans_func *libnfsidmap_plugin_init () +struct trans_func *libnfsidmap_plugin_init (void ) {return (®ex_trans); }
utils/idmapd/idmapd.c +1 -1
@@ -867,7 +867,7 @@ nfsdreopen_one(struct idmap_client *ic) }static void -nfsdreopen () +nfsdreopen (void ) {nfsdreopen_one (&nfsd_ic[IC_NAMEID ]);nfsdreopen_one (&nfsd_ic[IC_IDNAME ]);
Signature · 1 line
2.37.3
Quoted 12 lines · Sam James
```
regex.c:545:43: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
struct trans_func *libnfsidmap_plugin_init()
^
void
1 error generated.
```Quoted 6 lines
See:
167f2336b06e1bcbf26f45f2ddc4a535fed4d393Signed-off-by Sam James <[email protected]>---
support/nfsidmap/regex.c| 2 +-utils/idmapd/idmapd.c| 2 +-2 files changed, 2 insertions(+), 2 deletions(-)
ping
Quoted 12 lines · Sam James
Quoted 12 lines · Sam James
``` regex.c:545:43: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] struct trans_func *libnfsidmap_plugin_init() ^ void 1 error generated. ```
Quoted 8 lines
Quoted 6 lines
See:
167f2336b06e1bcbf26f45f2ddc4a535fed4d393Signed-off-by Sam James <[email protected]>---
support/nfsidmap/regex.c| 2 +-utils/idmapd/idmapd.c| 2 +-2 files changed, 2 insertions(+), 2 deletions(-)ping
Thanks! Committed!
steved.