diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-06 18:32:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-06 18:32:19 +0000 |
commit | b6d8272551435098c716c546a5201206517e5da9 (patch) | |
tree | 223438db91511a96151bc1450143b4c649c40d08 /tbl_html.c | |
parent | eec76d50a016de5e9c4e0d3504b148892a36aabf (diff) | |
download | mandoc-b6d8272551435098c716c546a5201206517e5da9.tar.gz mandoc-b6d8272551435098c716c546a5201206517e5da9.tar.zst mandoc-b6d8272551435098c716c546a5201206517e5da9.zip |
modernize style: "return" is not a function
Diffstat (limited to 'tbl_html.c')
-rw-r--r-- | tbl_html.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,7 @@ -/* $Id: tbl_html.c,v 1.16 2015/01/30 17:32:16 schwarze Exp $ */ +/* $Id: tbl_html.c,v 1.17 2015/10/06 18:32:20 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> + * Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -36,14 +37,14 @@ static size_t html_tbl_len(size_t sz, void *arg) { - return(sz); + return sz; } static size_t html_tbl_strlen(const char *p, void *arg) { - return(strlen(p)); + return strlen(p); } static void |