Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 227933
Collapse All | Expand All

(-)Chromium-0.9.orig/src/Ammo.cpp (-1 / +1 lines)
Lines 7-13 Link Here
7
 */
7
 */
8
#include "Ammo.h"
8
#include "Ammo.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
11
12
12
13
int ActiveAmmo::ammoCount = 0;
13
int ActiveAmmo::ammoCount = 0;
(-)Chromium-0.9.orig/src/AudioOpenAL.cpp (-5 / +5 lines)
Lines 15-28 Link Here
15
	void	alcDestroyContext(void*) { alExit(); }
15
	void	alcDestroyContext(void*) { alExit(); }
16
#endif //macintosh
16
#endif //macintosh
17
17
18
#include <stdio.h>
18
#include <cstdio>
19
#include <stdlib.h>
19
#include <cstdlib>
20
#include <stdarg.h>
20
#include <cstdarg>
21
#include <string.h>
21
#include <cstring>
22
22
23
#ifndef _WIN32
23
#ifndef _WIN32
24
	#include <unistd.h>
24
	#include <unistd.h>
25
	#include <errno.h>
25
	#include <cerrno>
26
	#include <fcntl.h>
26
	#include <fcntl.h>
27
	#include <sys/stat.h>
27
	#include <sys/stat.h>
28
	#include <sys/types.h>
28
	#include <sys/types.h>
(-)Chromium-0.9.orig/src/AudioSDLMixer.cpp (-4 / +4 lines)
Lines 9-22 Link Here
9
 
9
 
10
#include "AudioSDLMixer.h"
10
#include "AudioSDLMixer.h"
11
11
12
#include <stdio.h>
12
#include <cstdio>
13
#include <stdlib.h>
13
#include <cstdlib>
14
#include <stdarg.h>
14
#include <stdarg.h>
15
#include <string.h>
15
#include <cstring>
16
16
17
#ifndef _WIN32
17
#ifndef _WIN32
18
#include <unistd.h>
18
#include <unistd.h>
19
#include <errno.h>
19
#include <cerrno>
20
#include <fcntl.h>
20
#include <fcntl.h>
21
#include <sys/stat.h>
21
#include <sys/stat.h>
22
#endif // _WIN32
22
#endif // _WIN32
(-)Chromium-0.9.orig/src/Config.cpp (-3 / +3 lines)
Lines 10-18 Link Here
10
#include "HiScore.h"
10
#include "HiScore.h"
11
11
12
//====================================================================
12
//====================================================================
13
#include <stdio.h>
13
#include <cstdio>
14
#include <stdlib.h>
14
#include <cstdlib>
15
#include <string.h>
15
#include <cstring>
16
16
17
#include "NCString.h"
17
#include "NCString.h"
18
18
(-)Chromium-0.9.orig/src/EnemyAircraft_Boss00.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAircraft_Boss00.h"
8
#include "EnemyAircraft_Boss00.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "Config.h"
14
#include "Config.h"
15
15
(-)Chromium-0.9.orig/src/EnemyAircraft_Boss01.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAircraft_Boss01.h"
8
#include "EnemyAircraft_Boss01.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "Config.h"
14
#include "Config.h"
15
15
(-)Chromium-0.9.orig/src/EnemyAircraft.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAircraft.h"
8
#include "EnemyAircraft.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "Config.h"
14
#include "Config.h"
15
15
(-)Chromium-0.9.orig/src/EnemyAircraft_Gnat.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAircraft_Gnat.h"
8
#include "EnemyAircraft_Gnat.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "Config.h"
14
#include "Config.h"
15
15
(-)Chromium-0.9.orig/src/EnemyAircraft_Omni.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAircraft_Omni.h"
8
#include "EnemyAircraft_Omni.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "Config.h"
14
#include "Config.h"
15
15
(-)Chromium-0.9.orig/src/EnemyAircraft_RayGun.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAircraft_RayGun.h"
8
#include "EnemyAircraft_RayGun.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "Config.h"
14
#include "Config.h"
15
15
(-)Chromium-0.9.orig/src/EnemyAircraft_Straight.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAircraft_Straight.h"
8
#include "EnemyAircraft_Straight.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "Config.h"
14
#include "Config.h"
15
15
(-)Chromium-0.9.orig/src/EnemyAircraft_Tank.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAircraft_Tank.h"
8
#include "EnemyAircraft_Tank.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "Config.h"
14
#include "Config.h"
15
15
(-)Chromium-0.9.orig/src/EnemyAmmo.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "EnemyAmmo.h"
8
#include "EnemyAmmo.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "compatibility.h"
14
#include "compatibility.h"
15
#include <GL/gl.h>
15
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/EnemyFleet.cpp (-2 / +2 lines)
Lines 7-14 Link Here
7
 */
7
 */
8
#include "EnemyFleet.h"
8
#include "EnemyFleet.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <math.h>
11
#include <cmath>
12
12
13
#include "compatibility.h"
13
#include "compatibility.h"
14
#include <GL/gl.h>
14
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/Explosions.cpp (-1 / +1 lines)
Lines 7-13 Link Here
7
 */
7
 */
8
#include "Explosions.h"
8
#include "Explosions.h"
9
9
10
#include <stdlib.h>
10
#include <cstdlib>
11
11
12
#include "compatibility.h"
12
#include "compatibility.h"
13
#include <GL/gl.h>
13
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/extern.h (-1 / +1 lines)
Lines 8-14 Link Here
8
#ifndef extern_h
8
#ifndef extern_h
9
#define extern_h
9
#define extern_h
10
10
11
#include <stdio.h>
11
#include <cstdio>
12
12
13
const char *dataLoc(const char *filename, bool doCheck = true);
13
const char *dataLoc(const char *filename, bool doCheck = true);
14
const char *alterPathForPlatform(char *filename);
14
const char *alterPathForPlatform(char *filename);
(-)Chromium-0.9.orig/src/Global.h (-2 / +2 lines)
Lines 8-15 Link Here
8
#ifndef Global_h
8
#ifndef Global_h
9
#define Global_h
9
#define Global_h
10
10
11
#include <stdio.h>
11
#include <cstdio>
12
#include <time.h>
12
#include <ctime>
13
13
14
#include "define.h"
14
#include "define.h"
15
#include "TexFont.h"
15
#include "TexFont.h"
(-)Chromium-0.9.orig/src/GroundMetal.cpp (-1 / +1 lines)
Lines 8-14 Link Here
8
#include "GroundMetal.h"
8
#include "GroundMetal.h"
9
9
10
#include <GL/glpng.h>
10
#include <GL/glpng.h>
11
#include <math.h>
11
#include <cmath>
12
12
13
#include "extern.h"
13
#include "extern.h"
14
#include "Global.h"
14
#include "Global.h"
(-)Chromium-0.9.orig/src/GroundMetalSegment.cpp (-1 / +1 lines)
Lines 7-13 Link Here
7
 */
7
 */
8
#include "GroundMetalSegment.h"
8
#include "GroundMetalSegment.h"
9
9
10
#include <math.h>
10
#include <cmath>
11
11
12
#include "compatibility.h"
12
#include "compatibility.h"
13
#include <GL/gl.h>
13
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/GroundSea.cpp (-1 / +1 lines)
Lines 7-13 Link Here
7
 */
7
 */
8
#include "GroundSea.h"
8
#include "GroundSea.h"
9
9
10
#include <stdlib.h>
10
#include <cstdlib>
11
#include <GL/glpng.h>
11
#include <GL/glpng.h>
12
12
13
#include "extern.h"
13
#include "extern.h"
(-)Chromium-0.9.orig/src/GroundSeaSegment.cpp (-1 / +1 lines)
Lines 7-13 Link Here
7
 */
7
 */
8
#include "GroundSeaSegment.h"
8
#include "GroundSeaSegment.h"
9
9
10
#include <math.h>
10
#include <cmath>
11
11
12
#include "compatibility.h"
12
#include "compatibility.h"
13
#include <GL/gl.h>
13
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/HeroAircraft.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "HeroAircraft.h"
8
#include "HeroAircraft.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "compatibility.h"
14
#include "compatibility.h"
15
#include <GL/gl.h>
15
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/HeroAmmo.cpp (-2 / +2 lines)
Lines 7-14 Link Here
7
 */
7
 */
8
#include "HeroAmmo.h"
8
#include "HeroAmmo.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
12
13
#include "compatibility.h"
13
#include "compatibility.h"
14
#include <GL/gl.h>
14
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/HiScore.cpp (-3 / +3 lines)
Lines 11-19 Link Here
11
#include "HeroAircraft.h"
11
#include "HeroAircraft.h"
12
12
13
//====================================================================
13
//====================================================================
14
#include <stdio.h>
14
#include <cstdio>
15
#include <stdlib.h>
15
#include <cstdlib>
16
#include <string.h>
16
#include <cstring>
17
17
18
HiScore	*HiScore::instance = 0;
18
HiScore	*HiScore::instance = 0;
19
19
(-)Chromium-0.9.orig/src/HiScore.h (-2 / +2 lines)
Lines 8-15 Link Here
8
#ifndef HiScore_h
8
#ifndef HiScore_h
9
#define HiScore_h
9
#define HiScore_h
10
10
11
#include <stdio.h>
11
#include <cstdio>
12
#include <time.h>
12
#include <ctime>
13
13
14
#include "define.h"
14
#include "define.h"
15
15
(-)Chromium-0.9.orig/src/main.cpp (-5 / +5 lines)
Lines 8-22 Link Here
8
#include "compatibility.h"
8
#include "compatibility.h"
9
#include <GL/gl.h>
9
#include <GL/gl.h>
10
10
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <stdio.h>
12
#include <cstdio>
13
#include <string.h>
13
#include <cstring>
14
#include <time.h>
14
#include <ctime>
15
15
16
#ifndef _WIN32
16
#ifndef _WIN32
17
#include <unistd.h>
17
#include <unistd.h>
18
#include <fcntl.h>
18
#include <fcntl.h>
19
#include <errno.h>
19
#include <cerrno>
20
#include <sys/stat.h>
20
#include <sys/stat.h>
21
#endif // _WIN32
21
#endif // _WIN32
22
22
(-)Chromium-0.9.orig/src/MainGL.cpp (-4 / +4 lines)
Lines 7-16 Link Here
7
 */
7
 */
8
#include "MainGL.h"
8
#include "MainGL.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <string.h>
12
#include <cstring>
13
#include <math.h>
13
#include <cmath>
14
14
15
#include "compatibility.h"
15
#include "compatibility.h"
16
#include <GL/gl.h>
16
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/MainGLUT.cpp (-1 / +2 lines)
Lines 9-15 Link Here
9
9
10
#ifdef USE_GLUT
10
#ifdef USE_GLUT
11
11
12
#include <stdio.h>
12
#include <cstdio>
13
#include <cstdlib>
13
#include <unistd.h>
14
#include <unistd.h>
14
15
15
#include <GL/glut.h>
16
#include <GL/glut.h>
(-)Chromium-0.9.orig/src/MainSDL.cpp (-2 / +2 lines)
Lines 9-16 Link Here
9
9
10
#ifdef USE_SDL
10
#ifdef USE_SDL
11
11
12
#include <stdlib.h>
12
#include <cstdlib>
13
#include <math.h>
13
#include <cmath>
14
#include <SDL.h>
14
#include <SDL.h>
15
15
16
#include "compatibility.h"
16
#include "compatibility.h"
(-)Chromium-0.9.orig/src/MainSDL_Event.cpp (-3 / +3 lines)
Lines 9-17 Link Here
9
9
10
#ifdef USE_SDL
10
#ifdef USE_SDL
11
11
12
#include <stdlib.h>
12
#include <cstdlib>
13
#include <stdio.h>
13
#include <cstdio>
14
#include <string.h>
14
#include <cstring>
15
15
16
#include "Config.h"
16
#include "Config.h"
17
17
(-)Chromium-0.9.orig/src/MenuGL.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "MenuGL.h"
8
#include "MenuGL.h"
9
9
10
#include <stdlib.h>
10
#include <cstdlib>
11
#include <string.h>
11
#include <cstring>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "compatibility.h"
14
#include "compatibility.h"
15
#include <GL/gl.h>
15
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/NCString.cpp (-6 / +7 lines)
Lines 1-10 Link Here
1
#include "NCString.h"
1
#include "NCString.h"
2
2
3
#include <stdio.h>
3
#include <cstdio>
4
#include <ctype.h>
4
#include <cctype>
5
#include <stdlib.h>
5
#include <cstdlib>
6
#include <string.h>
6
#include <cstring>
7
#include <limits.h>
7
#include <climits>
8
#include <cstdarg>
8
9
9
/**
10
/**
10
 * ctor
11
 * ctor
Lines 1463-1469 Link Here
1463
NCString operator + (const char 	*s1, const NCString &s2)   {   NCString tmp(s1);   tmp += s2;  return tmp; }
1464
NCString operator + (const char 	*s1, const NCString &s2)   {   NCString tmp(s1);   tmp += s2;  return tmp; }
1464
NCString operator + (const NCString &s1, const char 	*s2)   {   NCString tmp(s1);   tmp += s2;  return tmp; }
1465
NCString operator + (const NCString &s1, const char 	*s2)   {   NCString tmp(s1);   tmp += s2;  return tmp; }
1465
//-----------------------------------------------------
1466
//-----------------------------------------------------
1466
ostream& operator << (ostream &os, const NCString &s1)
1467
std::ostream& operator << (std::ostream &os, const NCString &s1)
1467
{
1468
{
1468
	return os << (const char*)s1;
1469
	return os << (const char*)s1;
1469
}
1470
}
(-)Chromium-0.9.orig/src/NCString.h (-2 / +2 lines)
Lines 1-7 Link Here
1
#ifndef NCString_h
1
#ifndef NCString_h
2
#define NCString_h
2
#define NCString_h
3
3
4
#include <stream.h>
4
#include <iostream>
5
5
6
typedef unsigned int uint;
6
typedef unsigned int uint;
7
typedef unsigned short ushort;
7
typedef unsigned short ushort;
Lines 123-129 Link Here
123
/** add     @relates NCString */	NCString operator + (const NCString &s1, const NCString &s2);
123
/** add     @relates NCString */	NCString operator + (const NCString &s1, const NCString &s2);
124
/** add     @relates NCString */	NCString operator + (const char     *s1, const NCString &s2);
124
/** add     @relates NCString */	NCString operator + (const char     *s1, const NCString &s2);
125
/** add     @relates NCString */	NCString operator + (const NCString &s1, const char     *s2);
125
/** add     @relates NCString */	NCString operator + (const NCString &s1, const char     *s2);
126
/** stream  @relates NCString */	ostream& operator << (ostream &os, const NCString &s1);
126
/** stream  @relates NCString */	std::ostream& operator << (std::ostream &os, const NCString &s1);
127
127
128
#endif // NCString_h
128
#endif // NCString_h
129
129
(-)Chromium-0.9.orig/src/PowerUps.cpp (-3 / +3 lines)
Lines 7-15 Link Here
7
 */
7
 */
8
#include "PowerUps.h"
8
#include "PowerUps.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <math.h>
12
#include <cmath>
13
13
14
#include "compatibility.h"
14
#include "compatibility.h"
15
#include <GL/gl.h>
15
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/ScreenItemAdd.cpp (-2 / +2 lines)
Lines 7-14 Link Here
7
 */
7
 */
8
#include "ScreenItemAdd.h"
8
#include "ScreenItemAdd.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
12
13
#include "define.h"
13
#include "define.h"
14
#include "Global.h"
14
#include "Global.h"
(-)Chromium-0.9.orig/src/ScreenItem.cpp (-1 / +1 lines)
Lines 7-13 Link Here
7
 */
7
 */
8
#include "ScreenItem.h"
8
#include "ScreenItem.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
11
12
12
13
int ScreenItem::itemCount = 0;
13
int ScreenItem::itemCount = 0;
(-)Chromium-0.9.orig/src/StatusDisplay.cpp (-4 / +4 lines)
Lines 7-16 Link Here
7
 */
7
 */
8
#include "StatusDisplay.h"
8
#include "StatusDisplay.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <string.h>
12
#include <cstring>
13
#include <math.h>
13
#include <cmath>
14
14
15
#include "compatibility.h"
15
#include "compatibility.h"
16
#include <GL/gl.h>
16
#include <GL/gl.h>
(-)Chromium-0.9.orig/src/TexFont.cpp (-6 / +6 lines)
Lines 5-16 Link Here
5
   provided without guarantee or warrantee expressed or  implied. This
5
   provided without guarantee or warrantee expressed or  implied. This
6
   program is -not- in the public domain. */
6
   program is -not- in the public domain. */
7
#include "compatibility.h"
7
#include "compatibility.h"
8
#include <assert.h>
8
#include <cassert>
9
#include <ctype.h>
9
#include <cctype>
10
#include <stdlib.h>
10
#include <cstdlib>
11
#include <stdio.h>
11
#include <cstdio>
12
#include <string.h>
12
#include <cstring>
13
#include <math.h>
13
#include <cmath>
14
#include <GL/glu.h>
14
#include <GL/glu.h>
15
#include "TexFont.h"
15
#include "TexFont.h"
16
16
(-)Chromium-0.9.orig/src-setup/Audio.cpp (-4 / +5 lines)
Lines 7-19 Link Here
7
 */
7
 */
8
#include "Audio.h"
8
#include "Audio.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
#include <string.h>
12
#include <cstring>
13
13
14
#ifndef _WIN32
14
#ifndef _WIN32
15
#include <unistd.h>
15
#include <unistd.h>
16
#include <errno.h>
16
#include <cerrno>
17
#include <fcntl.h>
17
#include <fcntl.h>
18
#include <sys/stat.h>
18
#include <sys/stat.h>
19
#include <sys/types.h>
19
#include <sys/types.h>
Lines 23-28 Link Here
23
#include <AL/alc.h>
23
#include <AL/alc.h>
24
#include <AL/alut.h>
24
#include <AL/alut.h>
25
25
26
26
//====================================================================
27
//====================================================================
27
Audio::Audio()
28
Audio::Audio()
28
{
29
{
(-)Chromium-0.9.orig/src-setup/ConfigFile.cpp (-2 / +2 lines)
Lines 7-14 Link Here
7
 */
7
 */
8
#include "ConfigFile.h"
8
#include "ConfigFile.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
12
13
#include <qapp.h>
13
#include <qapp.h>
14
#include <qfiledialog.h>
14
#include <qfiledialog.h>
(-)Chromium-0.9.orig/src-setup/HelpPage.cpp (-1 / +1 lines)
Lines 7-13 Link Here
7
 */
7
 */
8
#include "HelpPage.h"
8
#include "HelpPage.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
11
12
#include <qwidget.h>
12
#include <qwidget.h>
13
#include <qapplication.h>
13
#include <qapplication.h>
(-)Chromium-0.9.orig/src-setup/HiScoreWidget.cpp (-2 / +2 lines)
Lines 1-7 Link Here
1
#include "HiScoreWidget.h"
1
#include "HiScoreWidget.h"
2
2
3
#include <stdio.h>
3
#include <cstdio>
4
#include <stdlib.h>
4
#include <cstdlib>
5
5
6
#include <qfileinfo.h>
6
#include <qfileinfo.h>
7
7
(-)Chromium-0.9.orig/src-setup/HiScoreWidget.h (-1 / +1 lines)
Lines 8-14 Link Here
8
#ifndef HiScoreWidget_h
8
#ifndef HiScoreWidget_h
9
#define HiScoreWidget_h
9
#define HiScoreWidget_h
10
10
11
#include <time.h>
11
#include <ctime>
12
12
13
#include <qlabel.h>
13
#include <qlabel.h>
14
#include <qlayout.h>
14
#include <qlayout.h>
(-)Chromium-0.9.orig/src-setup/MainWidget.cpp (-2 / +2 lines)
Lines 7-14 Link Here
7
 */
7
 */
8
#include "MainWidget.h"
8
#include "MainWidget.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
12
13
#include <qapp.h>
13
#include <qapp.h>
14
#include <qfile.h>
14
#include <qfile.h>
(-)Chromium-0.9.orig/src-setup/PlayList.cpp (-2 / +2 lines)
Lines 7-14 Link Here
7
 */
7
 */
8
#include "PlayList.h"
8
#include "PlayList.h"
9
9
10
#include <stdio.h>
10
#include <cstdio>
11
#include <stdlib.h>
11
#include <cstdlib>
12
12
13
#include <qapp.h>
13
#include <qapp.h>
14
#include <qtooltip.h>
14
#include <qtooltip.h>
(-)Chromium-0.9.orig/support/glpng/include/GL/glpng.h (-1 / +5 lines)
Lines 23-29 Link Here
23
#ifndef _GLPNG_H_
23
#ifndef _GLPNG_H_
24
#define _GLPNG_H_
24
#define _GLPNG_H_
25
25
26
#include <stdio.h>
26
#ifdef __cplusplus
27
#  include <cstdio>
28
#else
29
#  include <stdio.h>
30
#endif
27
31
28
#ifdef __cplusplus
32
#ifdef __cplusplus
29
extern "C" {
33
extern "C" {
(-)Chromium-0.9.orig/support/glpng/src/glpng.c (-1 / +5 lines)
Lines 5-10 Link Here
5
5
6
#define GL_GLEXT_PROTOTYPES 1
6
#define GL_GLEXT_PROTOTYPES 1
7
#include <GL/glpng.h>
7
#include <GL/glpng.h>
8
/* needed to get the glext prototypes */
9
#define GL_GLEXT_PROTOTYPES
8
#include <GL/gl.h>
10
#include <GL/gl.h>
9
#include <stdlib.h>
11
#include <stdlib.h>
10
#include <math.h>
12
#include <math.h>
Lines 48-54 Link Here
48
50
49
static char gammaExplicit = 0;	/*if  */
51
static char gammaExplicit = 0;	/*if  */
50
52
51
static void checkForGammaEnv()
53
static void checkForGammaEnv(void)
52
{
54
{
53
	double viewingGamma;
55
	double viewingGamma;
54
	char *gammaEnv = getenv("VIEWING_GAMMA");
56
	char *gammaEnv = getenv("VIEWING_GAMMA");
Lines 92-97 Link Here
92
	}
94
	}
93
}
95
}
94
96
97
#ifdef _WIN32
95
static int ExtSupported(const char *x) {
98
static int ExtSupported(const char *x) {
96
	static const GLubyte *ext = NULL;
99
	static const GLubyte *ext = NULL;
97
	const char *c;
100
	const char *c;
Lines 108-113 Link Here
108
111
109
	return 0;
112
	return 0;
110
}
113
}
114
#endif
111
115
112
#define GET(o) ((int)*(data + (o)))
116
#define GET(o) ((int)*(data + (o)))
113
117

Return to bug 227933