Permalink
Browse files

Dirty Commit

- still dirty... fixed some compile error due to mis-deleted lines
  • Loading branch information...
1 parent 65e551b commit 2d2f2924796b8f408d4fbd3bcc53ed490a6406eb @azman committed Feb 10, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/my1termu.c
View
@@ -5,9 +5,13 @@
#include <stdio.h>
#include <string.h>
//---------------------------------------------------------------------------
+#define PROGNAME "my1termu"
+#define FILENAME_LEN 80
+//---------------------------------------------------------------------------
#define ERROR_GENERAL -1
#define ERROR_PARAM_PORT -2
//---------------------------------------------------------------------------
+#define OPT_FASTPORT 0x00000001
#define OPT_LOCALECHO 0x00000002
#define OPT_SHOWHEX 0x00000004
#define OPT_LF4CR 0x00000008
@@ -89,7 +93,7 @@ int main(int argc, char* argv[])
my1key_t key;
termopts_t options = 0x0;
int terminal = 0, test, loop, mask, drag;
- char filename[FILENAME_LEN];
+ char filename[FILENAME_LEN], *ptty;
FILE* pfile;
// initialize port early to enable name change by parameter

0 comments on commit 2d2f292

Please sign in to comment.