projects
/
oweals
/
cde.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dtcm: Coverity 89670, 88380 and 88201
[oweals/cde.git]
/
cde
/
programs
/
dticon
/
constants.h
diff --git
a/cde/programs/dticon/constants.h
b/cde/programs/dticon/constants.h
index 9b4be16c8585252295362fdc4498d46934d9c48d..22115f9e05966b4c4e1103c8438caac4def220fb 100644
(file)
--- a/
cde/programs/dticon/constants.h
+++ b/
cde/programs/dticon/constants.h
@@
-16,7
+16,7
@@
* details.
*
* You should have received a copy of the GNU Lesser General Public
* details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with these librar
ar
ies and programs; if not, write
+ * License along with these libraries and programs; if not, write
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
* Floor, Boston, MA 02110-1301 USA
*/
@@
-97,7
+97,7
@@
typedef struct {
#define min(a, b) ((a < b) ? a : b)
#define max(a, b) ((a > b) ? a : b)
#ifndef abs
#define min(a, b) ((a < b) ? a : b)
#define max(a, b) ((a > b) ? a : b)
#ifndef abs
-#if !defined(
linux
)
+#if !defined(
__linux__
)
#define abs(a) (((a) < 0) ? -(a) : (a))
#endif
#endif
#define abs(a) (((a) < 0) ? -(a) : (a))
#endif
#endif