linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* the rationale for redefining integral types?
@ 2005-08-03 11:53 Robert P. J. Day
  2005-08-03 12:04 ` Steve Graegert
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2005-08-03 11:53 UTC (permalink / raw)
  To: C programming list


  (i apologize if i asked this before once upon a time, i'm sort of
immersed in digging through some legacy code and it's all starting to
merge together.)

  in this legacy code, one of the previous authors took it upon
himself to redefine some of the basic integral types, such as int8,
int16, int32 ... that sort of thing.

  there doesn't appear to be any benefit to these internally redefined
types over the ones in the standard library, so i can't see why it
would have been done.

  is there some reason a programmer might want to do this?

rday

p.s.  and, no, there doesn't appear to be anything subtlely clever
about the redefinitions.  just plain int and unsigned int of length 8
bits, 16 bits, ... etc.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-08-03 12:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-03 11:53 the rationale for redefining integral types? Robert P. J. Day
2005-08-03 12:04 ` Steve Graegert
2005-08-03 12:14   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).