Skip to content

Commit

Permalink
typo fix in code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
yqh committed Nov 27, 2019
1 parent 95dd9ff commit b3cb0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lab3/starter/shm/shm_stack.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ int is_empty(ISTACK *p)
}

/**
* @brief push one ineger onto the stack
* @brief push one integer onto the stack
* @param ISTACK *p the address of the ISTACK data structure
* @param int item the integer to be pushed onto the stack
* @return 0 on success; non-zero otherwise
Expand All @@ -171,7 +171,7 @@ int push(ISTACK *p, int item)
}

/**
* @brief push one ineger onto the stack
* @brief push one integer onto the stack
* @param ISTACK *p the address of the ISTACK data structure
* @param int *item output parameter to save the integer value
* that pops off the stack
Expand Down

0 comments on commit b3cb0ba

Please sign in to comment.