Fix function declarations without prototypes

master
Michael Santos 1 year ago
parent 8e25057316
commit 548a1590f5

@ -1,4 +1,4 @@
Copyright (c) 2015-2022, Michael Santos <michael.santos@gmail.com>
Copyright (c) 2015-2023, Michael Santos <michael.santos@gmail.com>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above

@ -1,4 +1,4 @@
/* Copyright (c) 2015-2016, Michael Santos <michael.santos@gmail.com>
/* Copyright (c) 2015-2023, Michael Santos <michael.santos@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -17,7 +17,7 @@
static unsigned char rfc3986[256];
int xmppipe_fmt_init() {
int xmppipe_fmt_init(void) {
int i = 0;
for (i = 0; i < 256; i++)

@ -1,4 +1,4 @@
/* Copyright (c) 2015-2022, Michael Santos <michael.santos@gmail.com>
/* Copyright (c) 2015-2023, Michael Santos <michael.santos@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@ -218,7 +218,7 @@ char *xmppipe_servername(char *jid) {
return q;
}
char *xmppipe_resource() {
char *xmppipe_resource(void) {
char buf[11];
(void)snprintf(buf, sizeof(buf), "%d", getpid());

Loading…
Cancel
Save