Peter Howkins
ea96eb624d
dtcalc: Resolve 82 warnings causing by enabling -Wall
2012-11-20 14:49:40 +00:00
Peter Howkins
f4339cd58e
dtcalc: Convert functions from K&R to ansi declarations.
2012-11-16 17:03:10 +00:00
Peter Howkins
a0da2db479
dtcalc: Resolve 43 warnings that would be introduced with -Wunused-variable or -Wall
...
Basically 43 local variables declared in functions and then never used.
2012-11-05 16:44:29 +00:00
Peter Howkins
f737b30289
dtcalc: Fix some warnings related to mixing NULL, 0 and '\0' randomly.
2012-08-30 16:45:52 +01:00
Peter Howkins
20c107bce2
dtcalc: Resolve "format not a string literal and no format arguments [-Wformat-security]" warnings.
...
Fix warnings related to secruity concerns on varargs functions. By specifying
"%s" on single string calls to sprintf() (and related) it's not possible to
have a % in the input string causing random data to be read off the stack.
2012-08-22 11:28:36 +01:00
Peter Howkins
7d50721685
dtcalc: Resolve "missing sentinel in function call [-Wformat]" warnings
...
Caused by XtVaGetValues() and XtVaSetValues() variable arguments lists
needing to be terminated by NULL not 0.
2012-08-22 10:44:33 +01:00
Pascal Stumpf
3e4517dc2a
OpenBSD patches for dtcalc, dtdocbook, dthelp and dtimsstart.
2012-08-11 19:43:41 -06:00
Peter Howkins
c884521619
Add GNU LGPL headers to all .c .C and .h files
2012-03-10 18:58:32 +00:00
Peter Howkins
83b6996daa
Initial import of the CDE 2.1.30 sources from the Open Group.
2012-03-10 18:21:40 +00:00