From eb4b88fe5267c9f07d2ce3628f06d579cff17a76 Mon Sep 17 00:00:00 2001 From: Doug Jacobsen <dmjacobsen@lbl.gov> Date: Mon, 29 Apr 2019 16:05:54 -0600 Subject: [PATCH] Move definition of SPANK_OPTION_ENV_PREFIX to plugstack.h. Bug 3745. --- src/common/plugstack.c | 2 -- src/common/plugstack.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/plugstack.c b/src/common/plugstack.c index ef8e6ca9721..488f0260801 100644 --- a/src/common/plugstack.c +++ b/src/common/plugstack.c @@ -115,8 +115,6 @@ struct spank_plugin { * SPANK Plugin options */ -#define SPANK_OPTION_ENV_PREFIX "_SLURM_SPANK_OPTION_" - struct spank_plugin_opt { struct spank_option *opt; /* Copy of plugin option info */ struct spank_plugin *plugin;/* Link back to plugin structure */ diff --git a/src/common/plugstack.h b/src/common/plugstack.h index a2b35e584c3..11876c14dc1 100644 --- a/src/common/plugstack.h +++ b/src/common/plugstack.h @@ -47,6 +47,8 @@ #include "src/common/job_options.h" #include "src/slurmd/slurmstepd/slurmstepd_job.h" +#define SPANK_OPTION_ENV_PREFIX "_SLURM_SPANK_OPTION_" + struct spank_launcher_job_info { uid_t uid; gid_t gid; -- GitLab