Move declarations to appropiate header files
This is in preparation for the next patch.
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
/* $Id: display.c,v 1.71 2010/07/18 14:10:09 htrb Exp $ */
|
/* $Id: display.c,v 1.71 2010/07/18 14:10:09 htrb Exp $ */
|
||||||
|
#include "display.h"
|
||||||
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#ifndef W3M_DISPLAY_H
|
||||||
|
#define W3M_DISPLAY_H
|
||||||
|
|
||||||
|
void fmInit(void);
|
||||||
|
void fmTerm(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
/* $Id: file.c,v 1.266 2012/05/22 09:45:56 inu Exp $ */
|
/* $Id: file.c,v 1.266 2012/05/22 09:45:56 inu Exp $ */
|
||||||
/* vi: set sw=4 ts=8 ai sm noet : */
|
/* vi: set sw=4 ts=8 ai sm noet : */
|
||||||
|
#include "display.h"
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include "myctype.h"
|
#include "myctype.h"
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* HTML forms
|
* HTML forms
|
||||||
*/
|
*/
|
||||||
|
#include "display.h"
|
||||||
#include "fm.h"
|
#include "fm.h"
|
||||||
#include "parsetag.h"
|
#include "parsetag.h"
|
||||||
#include "parsetagx.h"
|
#include "parsetagx.h"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
#if defined(__CYGWIN__) && defined(USE_BINMODE_STREAM)
|
#if defined(__CYGWIN__) && defined(USE_BINMODE_STREAM)
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
|
#include "display.h"
|
||||||
#include "terms.h"
|
#include "terms.h"
|
||||||
#include "myctype.h"
|
#include "myctype.h"
|
||||||
#include "regex.h"
|
#include "regex.h"
|
||||||
|
|||||||
@@ -320,8 +320,6 @@ extern void copyBuffer(Buffer *a, Buffer *b);
|
|||||||
extern Buffer *prevBuffer(Buffer *first, Buffer *buf);
|
extern Buffer *prevBuffer(Buffer *first, Buffer *buf);
|
||||||
extern int writeBufferCache(Buffer *buf);
|
extern int writeBufferCache(Buffer *buf);
|
||||||
extern int readBufferCache(Buffer *buf);
|
extern int readBufferCache(Buffer *buf);
|
||||||
extern void fmTerm(void);
|
|
||||||
extern void fmInit(void);
|
|
||||||
extern void displayBuffer(Buffer *buf, int mode);
|
extern void displayBuffer(Buffer *buf, int mode);
|
||||||
extern void addChar(char c, Lineprop mode);
|
extern void addChar(char c, Lineprop mode);
|
||||||
#ifdef USE_M17N
|
#ifdef USE_M17N
|
||||||
@@ -529,7 +527,6 @@ extern void term_cbreak(void);
|
|||||||
extern void term_title(char *s);
|
extern void term_title(char *s);
|
||||||
extern void flush_tty(void);
|
extern void flush_tty(void);
|
||||||
extern void toggle_stand(void);
|
extern void toggle_stand(void);
|
||||||
extern char getch(void);
|
|
||||||
extern void bell(void);
|
extern void bell(void);
|
||||||
extern int sleep_till_anykey(int sec, int purge);
|
extern int sleep_till_anykey(int sec, int purge);
|
||||||
#ifdef USE_IMAGE
|
#ifdef USE_IMAGE
|
||||||
|
|||||||
@@ -38,4 +38,6 @@ extern void put_image_kitty(char *url, int x, int y, int w, int h, int sx, int s
|
|||||||
extern int get_pixel_per_cell(int *ppc, int *ppl);
|
extern int get_pixel_per_cell(int *ppc, int *ppl);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
char getch(void);
|
||||||
|
|
||||||
#endif /* not TERMS_H */
|
#endif /* not TERMS_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user