view modules/inttostr @ 13824:d5c7df915328

inttostr: simplify by removing unnecessary redundancy * lib/anytostr.c: Don't include verify.h. (anytostr): Don't verify that TYPE_SIGNED (inttype) equals inttype_is_signed. Instead, disable the bogus GCC warnings, so that there's no need for inttype_is_signed and for calling TYPE_SIGNED. * lib/imaxtostr.c (inttype_is_signed): Remove; no longer needed. * lib/inttostr.c, lib/offtostr.c, lib/uinttostr.c, lib/umaxtostr.c: Likewise. * modules/inttostr (Depends-on): Remove 'verify'.
author Paul Eggert <eggert@cs.ucla.edu>
date Sun, 24 Oct 2010 10:11:16 -0700
parents 1cf23bf4f6e4
children 1ee102a293e1
line wrap: on
line source

Description:
Convert integers to printable strings.

Files:
lib/anytostr.c
lib/imaxtostr.c
lib/inttostr.c
lib/inttostr.h
lib/offtostr.c
lib/umaxtostr.c
lib/uinttostr.c
m4/inttostr.m4

Depends-on:
intprops
stdint

configure.ac:
gl_INTTOSTR

Makefile.am:
lib_SOURCES += \
  imaxtostr.c \
  inttostr.c \
  offtostr.c \
  uinttostr.c \
  umaxtostr.c

Include:
"inttostr.h"

License:
LGPL

Maintainer:
Paul Eggert