changeset 32784:0a9481b9ce00

Remove needless includes and declarations.
author ib
date Thu, 10 Feb 2011 10:55:18 +0000
parents 5b3f37eab972
children 91625bcadbe8
files gui/skin/font.c
diffstat 1 files changed, 1 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/gui/skin/font.c	Tue Feb 08 01:25:41 2011 +0000
+++ b/gui/skin/font.c	Thu Feb 10 10:55:18 2011 +0000
@@ -17,20 +17,15 @@
  */
 
 #include <stdlib.h>
-#include <stdio.h>
-#include <stdarg.h>
 #include <string.h>
 #include <inttypes.h>
 
-#include "gui/app.h"
 #include "skin.h"
 #include "font.h"
 #include "cut.h"
 #include "mp_msg.h"
 #include "libavutil/avstring.h"
 
-int items;
-
 bmpFont * Fonts[26] = { NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL };
 
 int fntAddNewFont( char * name )
@@ -73,7 +68,7 @@
  unsigned char * ptmp;
  unsigned char   command[32];
  unsigned char   param[256];
- int             c,linenumber = 0;
+ int             c;
  int             id = fntAddNewFont( fname );
 
  if ( id < 0 ) return id;
@@ -85,8 +80,6 @@
 
  while ( fgets( tmp,255,f ) )
   {
-   linenumber++;
-
    // remove any kind of newline, if any
    tmp[strcspn(tmp, "\n\r")] = 0;
    for ( c=0;c < (int)strlen( tmp );c++ )