Commit 19144d0beab077950f3e767385e3c1050061b475

Authored by Dave Jones
Committed by Linus Torvalds
1 parent 1dac06b20d

[PATCH] fix gcc4.1 build failure on xconfig

scripts/kconfig/qconf.h:25: error: extra qualification ‘ConfigSettings::’ on member ‘readSizes’
scripts/kconfig/qconf.h:26: error: extra qualification ‘ConfigSettings::’ on member ‘writeSizes’
scripts/kconfig/qconf.h:127: error: extra qualification ‘ConfigList::’ on member ‘updateMenuList’

Signed-off-by: Dave Jones <davej@redhat.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

scripts/kconfig/qconf.h
... ... @@ -22,8 +22,8 @@
22 22  
23 23 #if QT_VERSION >= 300
24 24 void readListSettings();
25   - QValueList<int> ConfigSettings::readSizes(const QString& key, bool *ok);
26   - bool ConfigSettings::writeSizes(const QString& key, const QValueList<int>& value);
  25 + QValueList<int> readSizes(const QString& key, bool *ok);
  26 + bool writeSizes(const QString& key, const QValueList<int>& value);
27 27 #endif
28 28  
29 29 bool showAll;
... ... @@ -124,7 +124,7 @@
124 124 void setParentMenu(void);
125 125  
126 126 template <class P>
127   - void ConfigList::updateMenuList(P*, struct menu*);
  127 + void updateMenuList(P*, struct menu*);
128 128  
129 129 bool updateAll;
130 130