<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:
Alan Coopersmith 2005-07-07 14:59:48 +00:00
parent 7da3f4a786
commit 6cba5f1260
4 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,7 @@ THE SOFTWARE.
#include FT_FREETYPE_H
#include "ft.h"
#define NOT_IN_FTFUNCS
#include "ftfuncs.h"
char *

View File

@ -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) */

View File

@ -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;

View File

@ -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