32 lines
716 B
Text
32 lines
716 B
Text
$NetBSD: patch-ag,v 1.3 2001/12/25 22:46:32 wiz Exp $
|
|
|
|
--- as/as.c.orig Sat Jul 10 21:03:52 1993
|
|
+++ as/as.c Tue Dec 25 23:03:46 2001
|
|
@@ -7,7 +7,6 @@
|
|
|
|
#include "const.h"
|
|
#include "type.h"
|
|
-#include "byteord.h"
|
|
#include "macro.h"
|
|
#undef EXTERN
|
|
#define EXTERN
|
|
@@ -37,6 +36,10 @@
|
|
#include <unistd.h>
|
|
#endif
|
|
|
|
+/* BSD #defines this in <machine/endian.h>, but with another sense */
|
|
+#undef BIG_ENDIAN
|
|
+#include "byteord.h"
|
|
+
|
|
PUBLIC char hexdigit[] = "0123456789ABCDEF"; /* XXX - ld uses lower case */
|
|
|
|
PRIVATE struct block_s hid_blockstak[MAXBLOCK]; /* block stack */
|
|
@@ -157,7 +160,7 @@
|
|
{
|
|
char *arg;
|
|
bool_t isnextarg;
|
|
- char *nextarg;
|
|
+ char *nextarg = NULL;
|
|
|
|
if (argc <= 1)
|
|
usage();
|