Previous 15994 Revisions Next

r8675 Sunday 1st August, 2010 at 11:10:12 UTC by Nathan Woods
Fixing build
[src/mess/tools/messdocs]messdocs.c messdocs.mak

src/mess/tools/messdocs/messdocs.c
r8674r8675
88
99#include "pool.h"
1010#include "sys/stat.h"
11#include "utils.h"
1211#include "osdcore.h"
1312#include "strconv.h"
1413#include "winutf8.h"
r8674r8675
3736static void *expat_malloc(size_t size);
3837static void *expat_realloc(void *ptr, size_t size);
3938static void expat_free(void *ptr);
39static void rtrim(char *buf);
4040
41
4142//============================================================
4243//  win_error_to_mame_file_error
4344//============================================================
r8674r8675
777778
778779
779780
781static void rtrim(char *buf)
782{
783   size_t buflen;
784   char *s;
785
786   buflen = strlen(buf);
787   if (buflen)
788   {
789      for (s = &buf[buflen-1]; s >= buf && (*s >= '\0') && isspace(*s); s--)
790         *s = '\0';
791   }
792}
793
794
795
780796/***************************************************************************
781797    EXPAT INTERFACES
782798***************************************************************************/
src/mess/tools/messdocs/messdocs.mak
r8674r8675
2828
2929MESSDOCS_OBJS = \
3030   $(MESSOBJ)/tools/messdocs/messdocs.o   \
31   $(MESSOBJ)/utils.o                  \
3231   $(MESS_TOOLS)/toolerr.o               \
3332
3433

Previous 15994 Revisions Next


© 1998-2018 The MESS Team