aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmisc.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-14 03:22:42 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-14 03:22:42 +0000
commit1418c83b393c2a5d08cc56b306272aab660fbd9d (patch)
tree607a59985eb915618ca8943a4c0b377ef17a7f72 /ld/ldmisc.c
parentda56abdf49af3e87f4b8e105606b0eee7c84b7f1 (diff)
downloadgdb-1418c83b393c2a5d08cc56b306272aab660fbd9d.zip
gdb-1418c83b393c2a5d08cc56b306272aab660fbd9d.tar.gz
gdb-1418c83b393c2a5d08cc56b306272aab660fbd9d.tar.bz2
checkpoint before a merge
Diffstat (limited to 'ld/ldmisc.c')
-rw-r--r--ld/ldmisc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/ldmisc.c b/ld/ldmisc.c
index d3671c8..f7fc9e9 100644
--- a/ld/ldmisc.c
+++ b/ld/ldmisc.c
@@ -32,7 +32,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "ld.h"
#include "ldmisc.h"
#include "ldlang.h"
-
+#include "ldlex.h"
/* IMPORTS */
extern char *program_name;
@@ -156,14 +156,14 @@ va_dcl
else {
int ch;
int n = 0;
- fprintf(stderr,"command (before <");
+ fprintf(stderr,"command (just before \"");
ch = lex_input();
while (ch != 0 && n < 10) {
fprintf(stderr, "%c", ch);
ch = lex_input();
n++;
}
- fprintf(stderr,")");
+ fprintf(stderr,"\")");
}
break;
@@ -269,8 +269,8 @@ size_t size;
-char *buystring(x)
-char *x;
+char *DEFUN(buystring,(x),
+ CONST char *CONST x)
{
size_t l = strlen(x)+1;
char *r = ldmalloc(l);