projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6195a89
)
abs() is part of C89.
author
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 09:06:46 +0000
(11:06 +0200)
committer
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 09:06:46 +0000
(11:06 +0200)
h/mh.h
patch
|
blob
|
history
sbr/dtime.c
patch
|
blob
|
history
diff --git
a/h/mh.h
b/h/mh.h
index
6a5cf9f
..
8d698f4
100644
(file)
--- a/
h/mh.h
+++ b/
h/mh.h
@@
-250,10
+250,6
@@
extern int msg_count; /* m_getfld() indicators (That's a hack!) */
# define min(a,b) ((a) < (b) ? (a) : (b))
#endif
-#ifndef abs
-# define abs(a) ((a) > 0 ? (a) : -(a))
-#endif
-
/*
** GLOBAL VARIABLES
*/
diff --git
a/sbr/dtime.c
b/sbr/dtime.c
index
48e13db
..
1273112
100644
(file)
--- a/
sbr/dtime.c
+++ b/
sbr/dtime.c
@@
-15,10
+15,6
@@
extern long timezone;
#endif
-#ifndef abs
-# define abs(a) (a >= 0 ? a : -a)
-#endif
-
/*
** The number of days in the year, accounting for leap years
*/