<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:
parent
7da3f4a786
commit
6cba5f1260
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user