Fix -Wdocumentation warnings

misc.c:724:5: warning: '@return' command used in a comment that is attached to a function returning void [-Wdocumentation]
tables.c:68:12: warning: parameter 'the' not found in the function declaration [-Wdocumentation]
tables.c:68:12: note: did you mean 'out'?
tables.c:99:12: warning: parameter 'tbl' not found in the function declaration [-Wdocumentation]
tables.c:99:12: note: did you mean 'td'?
tables.c:140:12: warning: parameter 'out' not found in the function declaration [-Wdocumentation]
tables.c:186:12: warning: parameter 'out' not found in the function declaration [-Wdocumentation]
tables_shared.c:55:12: warning: parameter 'td' not found in the function declaration [-Wdocumentation]
regex.c:116:11: warning: parameter 'src' not found in the function declaration [-Wdocumentation]