Move declarations to appropiate header files

This is in preparation for the next patch.
This commit is contained in:
Rene Kita
2022-12-25 15:11:44 +01:00
parent 7c233b6590
commit 7c7af9e70c
7 changed files with 14 additions and 3 deletions
+2
View File
@@ -1,4 +1,6 @@
/* $Id: display.c,v 1.71 2010/07/18 14:10:09 htrb Exp $ */
#include "display.h"
#include <signal.h>
#include "fm.h"
+7
View File
@@ -0,0 +1,7 @@
#ifndef W3M_DISPLAY_H
#define W3M_DISPLAY_H
void fmInit(void);
void fmTerm(void);
#endif
+1
View File
@@ -1,5 +1,6 @@
/* $Id: file.c,v 1.266 2012/05/22 09:45:56 inu Exp $ */
/* vi: set sw=4 ts=8 ai sm noet : */
#include "display.h"
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
+1
View File
@@ -2,6 +2,7 @@
/*
* HTML forms
*/
#include "display.h"
#include "fm.h"
#include "parsetag.h"
#include "parsetagx.h"
+1
View File
@@ -15,6 +15,7 @@
#if defined(__CYGWIN__) && defined(USE_BINMODE_STREAM)
#include <io.h>
#endif
#include "display.h"
#include "terms.h"
#include "myctype.h"
#include "regex.h"
-3
View File
@@ -320,8 +320,6 @@ extern void copyBuffer(Buffer *a, Buffer *b);
extern Buffer *prevBuffer(Buffer *first, Buffer *buf);
extern int writeBufferCache(Buffer *buf);
extern int readBufferCache(Buffer *buf);
extern void fmTerm(void);
extern void fmInit(void);
extern void displayBuffer(Buffer *buf, int mode);
extern void addChar(char c, Lineprop mode);
#ifdef USE_M17N
@@ -529,7 +527,6 @@ extern void term_cbreak(void);
extern void term_title(char *s);
extern void flush_tty(void);
extern void toggle_stand(void);
extern char getch(void);
extern void bell(void);
extern int sleep_till_anykey(int sec, int purge);
#ifdef USE_IMAGE
+2
View File
@@ -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);
#endif
char getch(void);
#endif /* not TERMS_H */