summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/AsciiSrc.c6
-rw-r--r--src/MultiSrc.c2
2 files changed, 3 insertions, 5 deletions
diff --git a/src/AsciiSrc.c b/src/AsciiSrc.c
index 0581040..c3d73fa 100644
--- a/src/AsciiSrc.c
+++ b/src/AsciiSrc.c
@@ -111,7 +111,7 @@ static void Initialize(Widget, Widget, ArgList, Cardinal *);
static void Destroy(Widget);
static void GetValuesHook(Widget, ArgList, Cardinal *);
static String MyStrncpy(char *, char *, int);
-static String StorePiecesInString(AsciiSrcObject);
+static char * StorePiecesInString(AsciiSrcObject);
static Boolean SetValues(Widget, Widget, Widget, ArgList, Cardinal *);
static Boolean WriteToFile(_Xconst _XtString, _Xconst _XtString);
@@ -927,10 +927,10 @@ WriteToFile(_Xconst _XtString string, _Xconst _XtString name)
* Returns: none.
*/
-static String
+static char *
StorePiecesInString(AsciiSrcObject src)
{
- String string;
+ char * string;
XawTextPosition first;
Piece * piece;
diff --git a/src/MultiSrc.c b/src/MultiSrc.c
index a1b2035..86703ae 100644
--- a/src/MultiSrc.c
+++ b/src/MultiSrc.c
@@ -137,8 +137,6 @@ static Boolean WriteToFile(String, String);
static void (MyWStrncpy)();
#endif
-extern char *tmpnam(String);
-
extern wchar_t* _XawTextMBToWC(Display *, char *, int *);
extern char *_XawTextWCToMB(Display *, wchar_t *, int *);