lkml.org 
[lkml]   [2003]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [ACPI] ACPI blacklisting: move year blacklist into acpi/blacklist.c
Hi!

> > AFAICS. It also adds some externs to include/linux/acpi.h, but I
> > believe *way* more externs are needed. Please apply,
>
> > --- /usr/src/tmp/linux/include/linux/acpi.h 2003-08-27 12:00:48.000000000 +0200
> > +++ /usr/src/linux/include/linux/acpi.h 2003-10-01 11:53:51.000000000 +0200
> > @@ -403,8 +403,8 @@
> >
> > struct pci_dev;
> >
> > -int acpi_pci_irq_enable (struct pci_dev *dev);
> > -int acpi_pci_irq_init (void);
> > +extern int acpi_pci_irq_enable (struct pci_dev *dev);
> > +extern int acpi_pci_irq_init (void);
>
> Why do they need to be externs? The comp.lang.c FAQ suggests they don't
> have to be.
>
> http://www.eskimo.com/~scs/C-faq/q1.11.html

Well, they don't *have* to be there, but as FAQ says, it is stylistics
hint.


Pavel
--
Horseback riding is like software...
...vgf orggre jura vgf serr.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.202 / U:0.160 seconds]
©2003-2011 Jasper Spaans. Advertise on this site