projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da67cb0
)
Remove unnecessary include of <math.h>
author
Peter Eisentraut
<
[email protected]
>
Mon, 4 Dec 2023 05:34:27 +0000
(06:34 +0100)
committer
Peter Eisentraut
<
[email protected]
>
Mon, 4 Dec 2023 05:35:22 +0000
(06:35 +0100)
This was probably never necessary. (The header used to use random(),
but that shouldn't require <math.h> either. In any case, that's gone,
too.)
Reviewed-by: Shubham Khanna <
[email protected]
>
Reviewed-by: Tom Lane <
[email protected]
>
Discussion: https://www.postgresql.org/message-id/flat/
cff5475d
-e0a9-4561-b094-
794aa36bd031
%40eisentraut.org
src/include/optimizer/geqo_random.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/optimizer/geqo_random.h
b/src/include/optimizer/geqo_random.h
index 08b0c08d85f94562b77ca9668cfad446e417ebb8..e3e12e900d0e71e7a96fa5b1ac83adc3d187c673 100644
(file)
--- a/
src/include/optimizer/geqo_random.h
+++ b/
src/include/optimizer/geqo_random.h
@@
-24,8
+24,6
@@
#ifndef GEQO_RANDOM_H
#define GEQO_RANDOM_H
-#include <math.h>
-
#include "optimizer/geqo.h"