Skip to content

Commit

Permalink
Fix info() function for newer Slurm
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaschan committed Jan 5, 2021
1 parent b0d6424 commit bcd878b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions slurm_banking/src/logging.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
use std::ffi::CString;
use std::os::raw::c_char;
// use std::os::raw::c_char;

use super::bindings::*;

extern crate openapi;

extern "C" {
fn info(message: *const c_char);
}
// extern "C" {
// fn info(message: *const c_char);
// }

/// Provides a safe interface for info logging
/// This usually shows up in `slurmctld.log`
Expand Down

0 comments on commit bcd878b

Please sign in to comment.