1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-07 06:43:00 +03:00

(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.

This commit is contained in:
Ulrich Drepper
2004-12-22 20:10:10 +00:00
parent 0ecb606cb6
commit a334319f65
6215 changed files with 304673 additions and 494300 deletions

View File

@@ -626,7 +626,8 @@ static const unsigned int poweroften[10]=
/* takes an XeY precision/size value, returns a string representation. */
static const char *
precsize_ntoa (u_int8_t prec)
precsize_ntoa(prec)
u_int8_t prec;
{
static char retbuf[sizeof "90000000.00"]; /* XXX nonreentrant */
unsigned long val;
@@ -643,7 +644,8 @@ precsize_ntoa (u_int8_t prec)
/* converts ascii size/precision X * 10**Y(cm) to 0xXY. moves pointer. */
static u_int8_t
precsize_aton (const char **strptr)
precsize_aton(strptr)
const char **strptr;
{
unsigned int mval = 0, cmval = 0;
u_int8_t retval = 0;
@@ -684,7 +686,9 @@ precsize_aton (const char **strptr)
/* converts ascii lat/lon to unsigned encoded 32-bit number. moves pointer. */
static u_int32_t
latlon2ul (const char **latlonstrptr, int *which)
latlon2ul(latlonstrptr,which)
const char **latlonstrptr;
int *which;
{
const char *cp;
u_int32_t retval;
@@ -896,7 +900,7 @@ loc_ntoa(binary, ascii)
const u_char *binary;
char *ascii;
{
static const char error[] = "?";
static char *error = "?";
static char tmpbuf[sizeof
"1000 60 60.000 N 1000 60 60.000 W -12345678.00m 90000000.00m 90000000.00m 90000000.00m"];
const u_char *cp = binary;
@@ -976,11 +980,11 @@ loc_ntoa(binary, ascii)
altmeters = (altval / 100) * altsign;
if ((sizestr = strdup(precsize_ntoa(sizeval))) == NULL)
sizestr = (char *) error;
sizestr = error;
if ((hpstr = strdup(precsize_ntoa(hpval))) == NULL)
hpstr = (char *) error;
hpstr = error;
if ((vpstr = strdup(precsize_ntoa(vpval))) == NULL)
vpstr = (char *) error;
vpstr = error;
sprintf(ascii,
"%d %.2d %.2d.%.3d %c %d %.2d %.2d.%.3d %c %d.%.2dm %sm %sm %sm",
@@ -988,11 +992,11 @@ loc_ntoa(binary, ascii)
longdeg, longmin, longsec, longsecfrac, eastwest,
altmeters, altfrac, sizestr, hpstr, vpstr);
if (sizestr != (char *) error)
if (sizestr != error)
free(sizestr);
if (hpstr != (char *) error)
if (hpstr != error)
free(hpstr);
if (vpstr != (char *) error)
if (vpstr != error)
free(vpstr);
return (ascii);