mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-25 10:40:25 +00:00
<https://bugs.freedesktop.org/attachment.cgi?id=2332> This patch avoids 79 gcc-3.4.3 warnings 'xxx' declared `static' but never defined mostly due to including "ftfuncs.h" with the declaration of static functions defined in "ftfuncs.c". (Peter Breitenlohner)
This commit is contained in:
@@ -43,6 +43,7 @@ THE SOFTWARE.
|
||||
#include FT_FREETYPE_H
|
||||
|
||||
#include "ft.h"
|
||||
#define NOT_IN_FTFUNCS
|
||||
#include "ftfuncs.h"
|
||||
|
||||
char *
|
||||
|
||||
@@ -42,6 +42,7 @@ THE SOFTWARE.
|
||||
#include <X11/fonts/fontutil.h>
|
||||
#include <X11/fonts/fontenc.h>
|
||||
#include "ft.h"
|
||||
#define NOT_IN_FTFUNCS
|
||||
#include "ftfuncs.h"
|
||||
#include "servermd.h" /* needed for endian test (IMAGE_BYTE_ORDER) */
|
||||
|
||||
|
||||
@@ -45,6 +45,7 @@ THE SOFTWARE.
|
||||
#include <X11/fonts/fontutil.h>
|
||||
#include <X11/fonts/fontenc.h>
|
||||
#include "ft.h"
|
||||
#define NOT_IN_FTFUNCS
|
||||
#include "ftfuncs.h"
|
||||
|
||||
int do_debug_ft2pt1 = FALSE;
|
||||
|
||||
@@ -69,6 +69,7 @@ THE SOFTWARE.
|
||||
#include <X11/fonts/fontutil.h>
|
||||
#include <X11/fonts/fontenc.h>
|
||||
#include "ft.h"
|
||||
#define NOT_IN_FTFUNCS
|
||||
#include "ftfuncs.h"
|
||||
|
||||
struct ft2info
|
||||
|
||||
Reference in New Issue
Block a user