diff stream/pnm.c @ 24860:324dd17d4aaa

Remove unused functions, fixes the warnings: pnm.c:853: warning: 'pnm_peek_header' defined but not used pnm.c:859: warning: 'pnm_close' defined but not used
author diego
date Tue, 30 Oct 2007 08:14:41 +0000
parents d261f5109660
children c1d17bd6683c
line wrap: on
line diff
--- a/stream/pnm.c	Tue Oct 30 08:06:39 2007 +0000
+++ b/stream/pnm.c	Tue Oct 30 08:14:41 2007 +0000
@@ -850,19 +850,6 @@
   return len;
 }
 
-static int pnm_peek_header (pnm_t *this, char *data) {
-
-  memcpy (data, this->header, this->header_len);
-  return this->header_len;
-}
-
-static void pnm_close(pnm_t *p) {
-
-  if (p->s >= 0) closesocket(p->s);
-  free(p->path);
-  free(p);
-}
-
 static int pnm_streaming_read( int fd, char *buffer, int size, streaming_ctrl_t *stream_ctrl ) {
 	return pnm_read(stream_ctrl->data, buffer, size);
 }