Changed nmsexec() to nms_exec()

modified:   src/main.c
	modified:   src/nms.c
	modified:   src/nms.h
	modified:   src/sneakers.c
This commit is contained in:
Brian Barto 2016-04-20 17:55:07 -04:00
parent 9f1ec97e3f
commit 36cf124a0d
4 changed files with 6 additions and 13 deletions

View File

@ -19,7 +19,7 @@ int main(void) {
args.src = input;
// Display characters
nmsexec(&args);
nms_exec(&args);
// Don't forget to free the allocated memory!
free(input);

View File

@ -41,20 +41,13 @@ struct winpos {
char getMaskChar(void);
/*
* void nmsexec(char *)
* void nms_exec(NmsArgs *)
*
* DESCR:
* Displays the characters stored in the / char * / parameter.
*
* ARGS:
* char *src - characters to display
* char *returnOptions - user must press key in one of the characters contained in this array
* before execution will continue after /char *src/ is revealed. All
* other keyboard selections will be ignored. Most commonly used when
* displaying a menu.
* Coming Soon...
*
*/
char nmsexec(NmsArgs *args) {
char nms_exec(NmsArgs *args) {
struct winpos *list_pointer = NULL;
struct winpos *start; // Always points to start of list
struct winpos *temp; // Used for free()ing the list

View File

@ -13,6 +13,6 @@ typedef struct {
// Function prototypes
// Display the characters stored in the display queue
char nmsexec(NmsArgs *);
char nms_exec(NmsArgs *);
#endif

View File

@ -161,7 +161,7 @@ int main(void) {
args.input_cursor_x = ((termCols - strlen(foot2Center)) / 2) + 1;
// Display characters
input = nmsexec(&args);
input = nms_exec(&args);
switch (input) {
case '1':