]> git.itanic.dy.fi Git - rrdd/blobdiff - process.c
utils.h: min() max() cleanup
[rrdd] / process.c
index 1b06e598c04ee58c5a8e0ebbc53c298c45b44554..98033f0a5f4bc5a0650c4f7e94cc54a9fa2ef310 100644 (file)
--- a/process.c
+++ b/process.c
@@ -9,6 +9,7 @@
 
 #include "process.h"
 #include "debug.h"
+#include "utils.h"
 
 static int epoll_fd;
 static unsigned int max_jobs;
@@ -480,7 +481,6 @@ int run_piped_stream(const char *cmd, char *const argv[],
  * Forks a child and executes a command to run on parallel
  */
 
-#define max(a,b) (a) < (b) ? (b) : (a)
 #define BUF_SIZE (128*1024)
 int run(const char *cmd, char *const argv[])
 {