dtcalc: Convert functions from K&R to ansi declarations.

This commit is contained in:
Peter Howkins
2012-11-16 17:03:10 +00:00
parent b556633eca
commit f4339cd58e
8 changed files with 225 additions and 456 deletions

View File

@@ -45,9 +45,7 @@
#endif /*LINT_CAST*/
struct tW_struct *
make_textW(owner, label)
Widget owner ;
char *label ;
make_textW(Widget owner, char *label)
{
struct tW_struct *w ;
@@ -73,10 +71,7 @@ char *label ;
}
void
set_text_str(w, ttype, str)
struct tW_struct *w ;
enum text_type ttype ;
char *str ;
set_text_str(struct tW_struct *w, enum text_type ttype, char *str)
{
XmString cstr ;