Commit bdc1d859 authored by Moe Jette's avatar Moe Jette
Browse files

Patch based upon 08:node-select-ops-typedef.diff patch from Geritt.

There were quite a few changes due to slurm changes from pre11 to pre12
and i also removed some void** function arguments.

select/cray: share the select_ops symbol table

This removes code duplication from the select/cray plugin, by 
 * sharing the (almost completely identical) declaration of the select_opts struct;
 * and also the slurm_select_context_t struct;
 * moving typedefs from .c into .h;
 * adjusting header-includes and renaming as required.

Further changes:
 * added the missing 'plugin_id' to the symbol list in other_select.c (otherwise
   the symbols would be shifted, causing segfault);
 * __select_jobinfo_t_defined is already set in slurm.h(.in), hence no longer
   repeated in node_select.h;
 * removed unused forward declarations to destroy the context.
parent 2c953eba
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment