diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-11 20:52:38 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2011-01-11 20:52:38 +0000 |
| commit | b4c15eb8ae300eeb374f461a7788ec6dec7938f0 (patch) | |
| tree | d224223396e128955ec624d9b5e44c43e2d951ad /src/xutf8 | |
| parent | 9c0c450cbdbe257c24baf9c0754d457a55fdfa89 (diff) | |
Fixed a few GNU compiler warnings (-pedantic): C++ comments in C files,
extraneous ';' and ',' and an invalid cast.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8263 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/xutf8')
| -rw-r--r-- | src/xutf8/ucs2fontmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xutf8/ucs2fontmap.c b/src/xutf8/ucs2fontmap.c index 3f2175762..fe3150ba4 100644 --- a/src/xutf8/ucs2fontmap.c +++ b/src/xutf8/ucs2fontmap.c @@ -36,7 +36,7 @@ typedef struct { unsigned short used; } Summary16; -#define NEED_TOMB // indicates what part of these include files is needed here (avoid compilation warnings) +#define NEED_TOMB /* indicates what part of these include files is needed here (avoid compilation warnings) */ #include "lcUniConv/cp936ext.h" #include "lcUniConv/big5.h" #include "lcUniConv/gb2312.h" @@ -305,7 +305,7 @@ int ucs2fontmap(char *s, unsigned int ucs, int enc) { break; }; return -1; -}; +} /*const*/ int encoding_number(const char *enc) { @@ -373,7 +373,7 @@ int encoding_number(const char *enc) { return 26; }; return -1; -}; +} /* * End of "$Id$". |
