public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* extern struct hd_struct *sd; ?
@ 2002-01-08 20:46 Pete Zaitcev
  0 siblings, 0 replies; 2+ messages in thread
From: Pete Zaitcev @ 2002-01-08 20:46 UTC (permalink / raw)
  To: linux-kernel

Hi,

does anyone know why is sd external? It is mentioned in sd.h,
together with the macro SD_PARTITION that is needed to access it,
but no drivers make use of it. On the other hand, sd_mod does not
export the symbol sd.

-- Pete

^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: extern struct hd_struct *sd; ?
@ 2002-01-08 22:30 Andries.Brouwer
  0 siblings, 0 replies; 2+ messages in thread
From: Andries.Brouwer @ 2002-01-08 22:30 UTC (permalink / raw)
  To: linux-kernel, zaitcev

> does anyone know why is sd external?

Because it was used in both sd.c and sd_ioctl.c.

What is sd_ioctl.c? See any kernel older than 2.3.27.
Today there is no need for this external declaration, I think.

Andries

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

end of thread, other threads:[~2002-01-08 22:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-08 20:46 extern struct hd_struct *sd; ? Pete Zaitcev
  -- strict thread matches above, loose matches on Subject: below --
2002-01-08 22:30 Andries.Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox