aboutsummaryrefslogtreecommitdiff
path: root/comhan.c
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2015-04-01 20:09:02 -0400
committerBen Burwell <ben@benburwell.com>2015-04-01 20:09:02 -0400
commite468dc911189e71509012fb0ed228cc765f641fa (patch)
tree9a6f82214d1d4614640bd8a6b68a5d766d9f4e08 /comhan.c
parentc4ed6736d2e093ea7433328a552d53d3bcaff927 (diff)
as of 2013-10-072013-10-07
Diffstat (limited to 'comhan.c')
-rw-r--r--comhan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/comhan.c b/comhan.c
index 73b0c54..febb503 100644
--- a/comhan.c
+++ b/comhan.c
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h>
#include "mpx.h"
#define BUF_SIZE 80 /* Size of the command line buffer. */
@@ -79,7 +80,7 @@ void comhan() {
int get_cmd(char cmd[]){
/* return the number associated with a command (use STOP, HELP etc) */
- int i =0 ; //loop control
+ int i = 0; //loop control
if (cmd == NULL) {
return -1;