Skip to content

Commit

Permalink
[PATCH] remove bogus con_is_present() prototypes
Browse files Browse the repository at this point in the history
Although gcc seems to accept "extern" prototypes after it has seen the
"static inline" function, that's not really correct.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 12, 2007
1 parent fef4590 commit 3a09910
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/video/aty/atyfb_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2957,8 +2957,6 @@ extern void (*prom_palette) (int);
static int __devinit atyfb_setup_sparc(struct pci_dev *pdev,
struct fb_info *info, unsigned long addr)
{
extern int con_is_present(void);

struct atyfb_par *par = info->par;
struct pcidev_cookie *pcp;
char prop[128];
Expand Down
1 change: 0 additions & 1 deletion drivers/video/igafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ static int __init iga_init(struct fb_info *info, struct iga_par *par)

int __init igafb_init(void)
{
extern int con_is_present(void);
struct fb_info *info;
struct pci_dev *pdev;
struct iga_par *par;
Expand Down

0 comments on commit 3a09910

Please sign in to comment.