All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] "_ENTRY" is both a struct and a typedef?
@ 2016-09-08 16:31 Robert P. J. Day
  2016-09-08 20:34 ` Peter.Chubb at data61.csiro.au
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2016-09-08 16:31 UTC (permalink / raw)
  To: u-boot


  from lib/hashtable.c:

  typedef struct _ENTRY {
        int used;
        ENTRY entry;
  } _ENTRY;

ok, that's just kind of creepy ... defining a typedef over top of a
struct of the same name. does anyone else find that strange?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

end of thread, other threads:[~2016-09-09 11:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-08 16:31 [U-Boot] "_ENTRY" is both a struct and a typedef? Robert P. J. Day
2016-09-08 20:34 ` Peter.Chubb at data61.csiro.au
2016-09-09 11:15   ` Måns Rullgård

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.