Commit Graph

19 Commits

Author SHA1 Message Date
hyousatsu f0123efa84 Fix some warnings. 2024-07-21 00:43:27 +00:00
Jon Trulson 35360f9900 Revert "dtcalc: Change the prototype of matherr() to reflect actual usage and remove warnings."
This reverts commit a9175c896d.

This is the wrong fix for matherr() troubles.
2021-12-17 15:19:07 -07:00
Jon Trulson dda11f0e38 Fix a bunch of -Wempty-body warnings reported by clang
Many of these were real bugs, like:

if (cond);
   do_something

etc...

Others were just cosmetic - like placing the ';' on a separate line to
make the intention clear.
2021-12-11 13:10:24 -07:00
Peter Howkins 9f8dbf6a6c dtcalc: Remove more 'extern' variables in .c files, by putting them in .h. Also reduce scope of vars and funcs with static. 2021-11-25 04:29:25 +00:00
Peter Howkins a9175c896d dtcalc: Change the prototype of matherr() to reflect actual usage and remove warnings. 2021-11-25 03:09:45 +00:00
Jon Trulson 36c9476a74 dtcalc: fix implicit-function-declaration warnings 2021-11-16 11:42:21 -07:00
Peter Howkins aef196c6ca dtcalc: remove some pointless macroing of function names to uppercase versionss 2020-11-26 23:00:18 +00:00
Ulrich Wilkens 16fbb15ecc Fix BSD and Sun problems after coverity fixes 2018-05-31 17:46:03 -06:00
chase 164e695cd0 remove OSF1 support 2018-05-24 14:25:26 -06:00
chase 07900bd93b Remove Unixware and openserver support 2018-05-20 12:13:07 -06:00
chase 8a4f389634 Remove UXPDS support 2018-05-15 20:27:22 -06:00
chase 33d2749ea3 Last of the spelling fixed 2018-04-28 12:36:44 -06:00
chase 1fe5a550b2 Fix typo in license headers 2018-04-28 12:30:20 -06:00
Ulrich Wilkens 2b8b5f25b5 Support for new Solaris/OpenIndiana versions 2015-05-09 16:19:08 -06:00
Peter Howkins ea96eb624d dtcalc: Resolve 82 warnings causing by enabling -Wall 2012-11-20 14:49:40 +00:00
Peter Howkins e56e3f74e6 dtcalc: Further remove K&R function prototypes and replace with ANSI. 2012-11-19 14:28:52 +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 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