diff --git a/src/slurmd/common/set_oomadj.c b/src/slurmd/common/set_oomadj.c index ef123af6283334e929e599012fb92610a690123d..4228c1941fca4510458c4f9c18008d63bd429f3d 100644 --- a/src/slurmd/common/set_oomadj.c +++ b/src/slurmd/common/set_oomadj.c @@ -80,5 +80,3 @@ extern int set_oom_adj(int adj) return 0; } - - diff --git a/src/slurmd/common/set_oomadj.h b/src/slurmd/common/set_oomadj.h index 068aeec6cfff4a7d1eb360e6a2b66db4c390e76a..99aabf85f75c71d63f4e40e29a26cf1ec9104126 100644 --- a/src/slurmd/common/set_oomadj.h +++ b/src/slurmd/common/set_oomadj.h @@ -38,9 +38,6 @@ #ifndef _SET_OOMADJ_H #define _SET_OOMADJ_H -/* from linux/mm.h */ -#define OOM_DISABLE (-17) - extern int set_oom_adj(int adj); #endif /* _SET_OOMADJ_H */