Fossil SCM

More updates of func decls f() to f(void).

stephan 2023-01-25 00:30 trunk
Commit 5dd632eb4472f57352dadc0a30a5097bed35fe8986aaef85ed0fefab4d12f4f7
1 file changed +9 -9
+9 -9
--- src/json_tag.c
+++ src/json_tag.c
@@ -22,14 +22,14 @@
2222
#if INTERFACE
2323
#include "json_detail.h"
2424
#endif
2525
2626
27
-static cson_value * json_tag_add();
28
-static cson_value * json_tag_cancel();
29
-static cson_value * json_tag_find();
30
-static cson_value * json_tag_list();
27
+static cson_value * json_tag_add(void);
28
+static cson_value * json_tag_cancel(void);
29
+static cson_value * json_tag_find(void);
30
+static cson_value * json_tag_list(void);
3131
/*
3232
** Mapping of /json/tag/XXX commands/paths to callbacks.
3333
*/
3434
static const JsonPageDef JsonPageDefs_Tag[] = {
3535
{"add", json_tag_add, 0},
@@ -42,19 +42,19 @@
4242
4343
/*
4444
** Implements the /json/tag family of pages/commands.
4545
**
4646
*/
47
-cson_value * json_page_tag(){
47
+cson_value * json_page_tag(void){
4848
return json_page_dispatch_helper(&JsonPageDefs_Tag[0]);
4949
}
5050
5151
5252
/*
5353
** Impl of /json/tag/add.
5454
*/
55
-static cson_value * json_tag_add(){
55
+static cson_value * json_tag_add(void){
5656
cson_value * payV = NULL;
5757
cson_object * pay = NULL;
5858
char const * zName = NULL;
5959
char const * zCheckin = NULL;
6060
char fRaw = 0;
@@ -138,11 +138,11 @@
138138
139139
140140
/*
141141
** Impl of /json/tag/cancel.
142142
*/
143
-static cson_value * json_tag_cancel(){
143
+static cson_value * json_tag_cancel(void){
144144
char const * zName = NULL;
145145
char const * zCheckin = NULL;
146146
char fRaw = 0;
147147
const char *zPrefix = NULL;
148148
@@ -188,11 +188,11 @@
188188
189189
190190
/*
191191
** Impl of /json/tag/find.
192192
*/
193
-static cson_value * json_tag_find(){
193
+static cson_value * json_tag_find(void){
194194
cson_value * payV = NULL;
195195
cson_object * pay = NULL;
196196
cson_value * listV = NULL;
197197
cson_array * list = NULL;
198198
char const * zName = NULL;
@@ -323,11 +323,11 @@
323323
**
324324
** TODOs:
325325
**
326326
** Add -type TYPE (ci, w, e, t)
327327
*/
328
-static cson_value * json_tag_list(){
328
+static cson_value * json_tag_list(void){
329329
cson_value * payV = NULL;
330330
cson_object * pay = NULL;
331331
cson_value const * tagsVal = NULL;
332332
char const * zCheckin = NULL;
333333
char fRaw = 0;
334334
--- src/json_tag.c
+++ src/json_tag.c
@@ -22,14 +22,14 @@
22 #if INTERFACE
23 #include "json_detail.h"
24 #endif
25
26
27 static cson_value * json_tag_add();
28 static cson_value * json_tag_cancel();
29 static cson_value * json_tag_find();
30 static cson_value * json_tag_list();
31 /*
32 ** Mapping of /json/tag/XXX commands/paths to callbacks.
33 */
34 static const JsonPageDef JsonPageDefs_Tag[] = {
35 {"add", json_tag_add, 0},
@@ -42,19 +42,19 @@
42
43 /*
44 ** Implements the /json/tag family of pages/commands.
45 **
46 */
47 cson_value * json_page_tag(){
48 return json_page_dispatch_helper(&JsonPageDefs_Tag[0]);
49 }
50
51
52 /*
53 ** Impl of /json/tag/add.
54 */
55 static cson_value * json_tag_add(){
56 cson_value * payV = NULL;
57 cson_object * pay = NULL;
58 char const * zName = NULL;
59 char const * zCheckin = NULL;
60 char fRaw = 0;
@@ -138,11 +138,11 @@
138
139
140 /*
141 ** Impl of /json/tag/cancel.
142 */
143 static cson_value * json_tag_cancel(){
144 char const * zName = NULL;
145 char const * zCheckin = NULL;
146 char fRaw = 0;
147 const char *zPrefix = NULL;
148
@@ -188,11 +188,11 @@
188
189
190 /*
191 ** Impl of /json/tag/find.
192 */
193 static cson_value * json_tag_find(){
194 cson_value * payV = NULL;
195 cson_object * pay = NULL;
196 cson_value * listV = NULL;
197 cson_array * list = NULL;
198 char const * zName = NULL;
@@ -323,11 +323,11 @@
323 **
324 ** TODOs:
325 **
326 ** Add -type TYPE (ci, w, e, t)
327 */
328 static cson_value * json_tag_list(){
329 cson_value * payV = NULL;
330 cson_object * pay = NULL;
331 cson_value const * tagsVal = NULL;
332 char const * zCheckin = NULL;
333 char fRaw = 0;
334
--- src/json_tag.c
+++ src/json_tag.c
@@ -22,14 +22,14 @@
22 #if INTERFACE
23 #include "json_detail.h"
24 #endif
25
26
27 static cson_value * json_tag_add(void);
28 static cson_value * json_tag_cancel(void);
29 static cson_value * json_tag_find(void);
30 static cson_value * json_tag_list(void);
31 /*
32 ** Mapping of /json/tag/XXX commands/paths to callbacks.
33 */
34 static const JsonPageDef JsonPageDefs_Tag[] = {
35 {"add", json_tag_add, 0},
@@ -42,19 +42,19 @@
42
43 /*
44 ** Implements the /json/tag family of pages/commands.
45 **
46 */
47 cson_value * json_page_tag(void){
48 return json_page_dispatch_helper(&JsonPageDefs_Tag[0]);
49 }
50
51
52 /*
53 ** Impl of /json/tag/add.
54 */
55 static cson_value * json_tag_add(void){
56 cson_value * payV = NULL;
57 cson_object * pay = NULL;
58 char const * zName = NULL;
59 char const * zCheckin = NULL;
60 char fRaw = 0;
@@ -138,11 +138,11 @@
138
139
140 /*
141 ** Impl of /json/tag/cancel.
142 */
143 static cson_value * json_tag_cancel(void){
144 char const * zName = NULL;
145 char const * zCheckin = NULL;
146 char fRaw = 0;
147 const char *zPrefix = NULL;
148
@@ -188,11 +188,11 @@
188
189
190 /*
191 ** Impl of /json/tag/find.
192 */
193 static cson_value * json_tag_find(void){
194 cson_value * payV = NULL;
195 cson_object * pay = NULL;
196 cson_value * listV = NULL;
197 cson_array * list = NULL;
198 char const * zName = NULL;
@@ -323,11 +323,11 @@
323 **
324 ** TODOs:
325 **
326 ** Add -type TYPE (ci, w, e, t)
327 */
328 static cson_value * json_tag_list(void){
329 cson_value * payV = NULL;
330 cson_object * pay = NULL;
331 cson_value const * tagsVal = NULL;
332 char const * zCheckin = NULL;
333 char fRaw = 0;
334

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button