Ver código fonte

a generic input stream interface

Roberto Ierusalimschy 28 anos atrás
pai
commit
d600a6b5b3
2 arquivos alterados com 14 adições e 10 exclusões
  1. 8 5
      lzio.c
  2. 6 5
      lzio.h

+ 8 - 5
zio.c → lzio.c

@@ -1,13 +1,16 @@
 /*
-* zio.c
-* a generic input stream interface
-* $Id: zio.c,v 1.1 1997/06/16 16:50:22 roberto Exp roberto $
+** $Id: zio.c,v 1.2 1997/06/20 19:25:54 roberto Exp $
+** a generic input stream interface
+** See Copyright Notice in lua.h
 */
 
+
+
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
-#include "zio.h"
+
+#include "lzio.h"
+
 
 
 /* ----------------------------------------------------- memory buffers --- */

+ 6 - 5
zio.h → lzio.h

@@ -1,11 +1,12 @@
 /*
-* zio.h
-* a generic input stream interface
-* $Id: zio.h,v 1.4 1997/06/19 18:55:28 roberto Exp roberto $
+** $Id: $
+** Buffered streams
+** See Copyright Notice in lua.h
 */
 
-#ifndef zio_h
-#define zio_h
+
+#ifndef lzio_h
+#define lzio_h
 
 #include <stdio.h>