Consistency nits and spelling (#8642)

automerge
This commit is contained in:
Grimes 2020-03-04 16:26:32 -08:00 committed by GitHub
parent b70d195473
commit fc409d9262
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 4 additions and 12 deletions

View File

@ -3,7 +3,6 @@
*
* Counts Armstrong Numbers between 1 and x
*/
#include <solana_sdk.h>
extern uint64_t entrypoint(const uint8_t *input) {

View File

@ -3,7 +3,6 @@
* passed to it
*/
#include <solana_sdk.h>
#include "helper.h"
extern uint64_t entrypoint(const uint8_t *input) {

View File

@ -3,7 +3,6 @@
* passed to it
*/
#include <solana_sdk.h>
#include "helper.h"
void helper_function(void) {

View File

@ -2,7 +2,6 @@
* @brief Example C-based BPF program that moves funds from one account to
* another
*/
#include <solana_sdk.h>
/**

View File

@ -1,7 +1,6 @@
/**
* @brief test program that generates BPF PC relative call instructions
*/
#include <solana_sdk.h>
void __attribute__ ((noinline)) helper() {

View File

@ -53,7 +53,7 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pulls in the stubs requried for `info!()`
// Pulls in the stubs required for `info!()`
solana_sdk_bpf_test::stubs!();
#[test]

View File

@ -85,7 +85,7 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pulls in the stubs requried for `info!()`
// Pulls in the stubs required for `info!()`
solana_sdk_bpf_test::stubs!();
#[test]

View File

@ -20,7 +20,7 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pulls in the stubs requried for `info!()`
// Pulls in the stubs required for `info!()`
solana_sdk_bpf_test::stubs!();
#[test]

View File

@ -3,7 +3,6 @@
extern crate solana_sdk;
use num_derive::FromPrimitive;
use num_traits::FromPrimitive;
use solana_sdk::{
account_info::AccountInfo,
entrypoint,

View File

@ -1,7 +1,6 @@
//! @brief Example Rust-based BPF program tests loop iteration
extern crate solana_sdk;
use solana_sdk::log::*;
pub fn many_args(

View File

@ -3,7 +3,6 @@
#![allow(unreachable_code)]
extern crate solana_sdk;
use solana_sdk::{
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, info, log::*, pubkey::Pubkey,
};
@ -65,7 +64,7 @@ fn process_instruction(
#[cfg(test)]
mod test {
use super::*;
// Pulls in the stubs requried for `info!()`
// Pulls in the stubs required for `info!()`
solana_sdk_bpf_test::stubs!();
#[test]