Revision: 18829
http://vice-emu.svn.sourceforge.net/vice-emu/?rev=18829&view=rev
Author: strik
Date: 2008-06-03 10:27:20 -0700 (Tue, 03 Jun 2008)
Log Message:
-----------
2008-06-03 Spiro Trikaliotis <spi...@gm...>
* configure.in: Changed bash'ism (if [...]) to more general code
(if test ...).
* src/arch/unix/x11/xaw/widgets/MultiList.c,
src/arch/unix/x11/xaw/widgets/TextField.c: Removed warnings by
providing prototypes for some functions.
Modified Paths:
--------------
trunk/vice/ChangeLog
trunk/vice/configure.in
trunk/vice/src/ChangeLog
trunk/vice/src/arch/unix/x11/xaw/widgets/MultiList.c
trunk/vice/src/arch/unix/x11/xaw/widgets/TextField.c
Modified: trunk/vice/ChangeLog
===================================================================
--- trunk/vice/ChangeLog 2008-06-02 18:57:19 UTC (rev 18828)
+++ trunk/vice/ChangeLog 2008-06-03 17:27:20 UTC (rev 18829)
@@ -1,3 +1,8 @@
+2008-06-03 Spiro Trikaliotis <spi...@gm...>
+
+ * configure.in: Changed bash'ism (if [...]) to more general code
+ (if test ...).
+
2008-05-25 Spiro Trikaliotis <spi...@gm...>
* Version 1.22.16.
Modified: trunk/vice/configure.in
===================================================================
--- trunk/vice/configure.in 2008-06-02 18:57:19 UTC (rev 18828)
+++ trunk/vice/configure.in 2008-06-03 17:27:20 UTC (rev 18829)
@@ -107,7 +107,7 @@
dnl --- setup Objective-C ---
OBJC="${CC}"
-if [ "x${OBJCFLAGS}" = x ]; then
+if test -z "x${OBJCFLAGS}"; then
OBJCFLAGS="${CFLAGS}"
fi
OBJCDEPMODE="depmode=${CC}"
Modified: trunk/vice/src/ChangeLog
===================================================================
--- trunk/vice/src/ChangeLog 2008-06-02 18:57:19 UTC (rev 18828)
+++ trunk/vice/src/ChangeLog 2008-06-03 17:27:20 UTC (rev 18829)
@@ -1,3 +1,9 @@
+2008-06-03 Spiro Trikaliotis <spi...@gm...>
+
+ * arch/unix/x11/xaw/widgets/MultiList.c,
+ arch/unix/x11/xaw/widgets/TextField.c: Removed warnings by
+ providing prototypes for some functions.
+
2008-06-01 Marco van den Heuvel <bla...@ya...>
* configure.in: Added extra defines needed for minix, alligned
Modified: trunk/vice/src/arch/unix/x11/xaw/widgets/MultiList.c
===================================================================
--- trunk/vice/src/arch/unix/x11/xaw/widgets/MultiList.c 2008-06-02 18:57:19 UTC (rev 18828)
+++ trunk/vice/src/arch/unix/x11/xaw/widgets/MultiList.c 2008-06-03 17:27:20 UTC (rev 18829)
@@ -60,6 +60,7 @@
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
+#include <X11/Xmu/Drawing.h>
#include "lib.h"
@@ -72,9 +73,6 @@
*===========================================================================*/
-Pixmap XmuCreateStippledPixmap();
-extern void XawInitializeWidgetSet();
-
#define SUPERCLASS &(simpleClassRec)
#define FontAscent(f) ((f)->max_bounds.ascent)
Modified: trunk/vice/src/arch/unix/x11/xaw/widgets/TextField.c
===================================================================
--- trunk/vice/src/arch/unix/x11/xaw/widgets/TextField.c 2008-06-02 18:57:19 UTC (rev 18828)
+++ trunk/vice/src/arch/unix/x11/xaw/widgets/TextField.c 2008-06-03 17:27:20 UTC (rev 18829)
@@ -70,8 +70,8 @@
#undef offset
static void Initialize(Widget treq, Widget tnew, ArgList args, Cardinal * num);
-static void Destroy();
-static void Redisplay();
+static void Destroy(TextFieldWidget w);
+static void Redisplay(Widget aw, XExposeEvent * event, Region region);
static void Resize(Widget aw);
static Boolean SetValues(Widget current, Widget request, Widget reply,
ArgList args, Cardinal * nargs);
@@ -849,7 +849,8 @@
target, type,
/* 1997/02/14 et...@co...: Changed cast to `XPointer *' into a
cast to `char **' to allow compilation under X11R4. */
- (char **) & std_targets,
+ /* 2008/05/28 SRT: undone this cast. Any compile problems? */
+ /* (char **) */ & std_targets,
&std_length, format);
*value = XtMalloc((unsigned) sizeof(Atom) * (std_length + 1));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|