[PATCH:mkfontscale 2/2] Remove unused NEED_SNPRINTF code to #include non-existent snprintf.c
Alan Coopersmith
alan.coopersmith at oracle.com
Sun Jan 9 13:50:07 PST 2011
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
list.c | 6 ------
mkfontscale.c | 6 ------
2 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/list.c b/list.c
index 6d3323e..cdedb89 100644
--- a/list.c
+++ b/list.c
@@ -26,12 +26,6 @@
#include <string.h>
#include "list.h"
-#ifdef NEED_SNPRINTF
-#undef SCOPE
-#define SCOPE static
-#include "snprintf.c"
-#endif
-
int
listMember(char *elt, ListPtr list)
{
diff --git a/mkfontscale.c b/mkfontscale.c
index 46e9eed..ea4cd27 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -46,12 +46,6 @@
#include "data.h"
#include "ident.h"
-#ifdef NEED_SNPRINTF
-#undef SCOPE
-#define SCOPE static
-#include "snprintf.c"
-#endif
-
#define NPREFIX 1024
#ifndef MAXFONTFILENAMELEN
--
1.7.3.2
More information about the xorg-devel
mailing list