Skip to contentSkip to conversation

Fix more function prototypes

PATCH Superseded Sam James 1 participant 1 message Sep 16, 2022

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Sam James

author
#0 lore raw

PATCH 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

---
 support/nfsidmap/regex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/nfsidmap/regex.c +1 -1
index 958b4ac8..8424179f 100644
@@ -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 (&regex_trans);
 }
Signature · 1 line
2.37.3