Update to 2.0.0 tree from current Fremantle build
[opencv] / apps / Hawk / CVEiCL / EiC / src / ppc403 / read.c
diff --git a/apps/Hawk/CVEiCL/EiC/src/ppc403/read.c b/apps/Hawk/CVEiCL/EiC/src/ppc403/read.c
deleted file mode 100644 (file)
index 2249f29..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-/* read.c -- read bytes from a input device.\r
- * \r
- * Copyright (c) 1995 Cygnus Support\r
- *\r
- * The authors hereby grant permission to use, copy, modify, distribute,\r
- * and license this software and its documentation for any purpose, provided\r
- * that existing copyright notices are retained in all copies and that this\r
- * notice is included verbatim in any distributions. No written agreement,\r
- * license, or royalty fee is required for any of the authorized uses.\r
- * Modifications to this software may be copyrighted by their authors\r
- * and need not follow the licensing terms described here, provided that\r
- * the new terms are clearly indicated on the first page of each file where\r
- * they apply.\r
- */\r
-#include "glue.h"\r
-\r
-extern char _DEFUN_VOID (inbyte);\r
-\r
-/*\r
- * read  -- read bytes from the serial port. Ignore fd, since\r
- *          we only have stdin.\r
- */\r
-int\r
-_DEFUN (read, (fd, buf, nbytes),\r
-       int fd _AND\r
-       char *buf _AND\r
-       int nbytes)\r
-{\r
-  int i = 0;\r
-\r
-  #ifdef debuglg\r
-  prs("[read]\n");\r
-  inbyte();\r
-  #endif\r
-  for (i = 0; i < nbytes; i++) {\r
-    *(buf + i) = inbyte();\r
-    if ((*(buf + i) == '\n') || (*(buf + i) == '\r')) {\r
-      (*(buf + i + 1)) = 0;\r
-      break;\r
-    }\r
-  }\r
-  return (i);\r
-}\r