Browse Source

Fix typo that breaks compilation #ifndef __weak_alias; Francois Perrad

OPENBSD_3_7
millert 20 years ago
parent
commit
1683a3a0eb
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      src/lib/libc/stdlib/strtoll.c
  2. +2
    -2
      src/lib/libc/stdlib/strtoull.c

+ 2
- 2
src/lib/libc/stdlib/strtoll.c View File

@ -28,7 +28,7 @@
*/ */
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
static const char rcsid[] = "$OpenBSD: strtoll.c,v 1.2 2003/06/02 20:18:38 millert Exp $";
static const char rcsid[] = "$OpenBSD: strtoll.c,v 1.3 2005/03/02 12:24:26 millert Exp $";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#include <sys/types.h> #include <sys/types.h>
@ -157,6 +157,6 @@ strtoq(nptr, endptr, base)
int base; int base;
{ {
return ((quad_t)strtoll(nptr, endptr, base);
return ((quad_t)strtoll(nptr, endptr, base));
} }
#endif #endif

+ 2
- 2
src/lib/libc/stdlib/strtoull.c View File

@ -28,7 +28,7 @@
*/ */
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
static const char rcsid[] = "$OpenBSD: strtoull.c,v 1.2 2003/06/02 20:18:38 millert Exp $";
static const char rcsid[] = "$OpenBSD: strtoull.c,v 1.3 2005/03/02 12:24:26 millert Exp $";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#include <sys/types.h> #include <sys/types.h>
@ -119,6 +119,6 @@ strtouq(nptr, endptr, base)
int base; int base;
{ {
return ((u_quad_t)strtoull(nptr, endptr, base);
return ((u_quad_t)strtoull(nptr, endptr, base));
} }
#endif #endif

Loading…
Cancel
Save