littlenum. */
memcpy ((void *) out, (void *) in,
- out_length << LITTLENUM_SHIFT);
+ (unsigned int) out_length << LITTLENUM_SHIFT);
for (p = in + in_length - 1; p >= in; --p)
{
if (*p)
else
{
memcpy ((char *) out, (char *) in,
- in_length << LITTLENUM_SHIFT);
+ (unsigned int) in_length << LITTLENUM_SHIFT);
if (out_length > in_length)
{
memset ((char *) (out + in_length),
- '\0', (out_length - in_length) << LITTLENUM_SHIFT);
+ '\0',
+ (unsigned int) (out_length - in_length) << LITTLENUM_SHIFT);
}
significant_littlenums_dropped = 0;
the_insn;
-#if __STDC__ == 1
-
-/* static int getExpression(char *str); */
-static void machine_ip (char *str);
-/* static void print_insn(struct machine_it *insn); */
-static void s_data1 (void);
-static void s_use (void);
-
-#else /* not __STDC__ */
-
-/* static int getExpression(); */
-static void machine_ip ();
-/* static void print_insn(); */
-static void s_data1 ();
-static void s_use ();
-
-#endif /* not __STDC__ */
+static void machine_ip PARAMS ((char *str));
+/* static void print_insn PARAMS ((struct machine_it *insn)); */
+static void s_data1 PARAMS ((void));
+static void s_use PARAMS ((void));
const pseudo_typeS
md_pseudo_table[] =
if (strncmp (input_line_pointer, ".text", 5) == 0)
{
input_line_pointer += 5;
- s_text ();
+ s_text (0);
return;
}
if (strncmp (input_line_pointer, ".data", 5) == 0)
{
input_line_pointer += 5;
- s_data ();
+ s_data (0);
return;
}
if (strncmp (input_line_pointer, ".data1", 6) == 0)
char *
xmalloc (n)
- long n;
+ unsigned long n;
{
char *retval;
- retval = malloc ((unsigned) n);
+ retval = malloc (n);
if (retval == NULL)
error ("virtual memory exceeded");
return (retval);
char *
xrealloc (ptr, n)
register char *ptr;
- long n;
+ unsigned long n;
{
- ptr = realloc (ptr, (unsigned) n);
+ ptr = realloc (ptr, n);
if (ptr == 0)
error ("virtual memory exceeded");
return (ptr);