Fix various bad prototypes
This commit is contained in:
parent
aeb8f33364
commit
43328c7963
@ -34,7 +34,7 @@ SOFTWARE.
|
||||
@synthesize canBecomeMainWindow = _canBecomeMainWindow;
|
||||
|
||||
|
||||
- (id) initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag
|
||||
- (id) initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag
|
||||
{
|
||||
self = [super initWithContentRect:contentRect styleMask:aStyle backing:bufferingType defer:flag];
|
||||
if (self != nil)
|
||||
|
@ -37,8 +37,8 @@ void OOStandardsError(NSString *message);
|
||||
// Return true if in standard enforcing mode
|
||||
// Always false in release builds
|
||||
// This will *not* exit in "exit on error" mode
|
||||
BOOL OOEnforceStandards();
|
||||
BOOL OOEnforceStandards(void);
|
||||
|
||||
void OOSetStandardsForOXPVerifierMode();
|
||||
void OOSetStandardsForOXPVerifierMode(void);
|
||||
|
||||
|
||||
|
@ -41,7 +41,7 @@ void OOSetStandardsForOXPVerifierMode() {}
|
||||
|
||||
#else
|
||||
|
||||
void OOStandardsSetup();
|
||||
void OOStandardsSetup(void);
|
||||
void OOStandardsInternal(NSString *type, NSString *message);
|
||||
|
||||
static BOOL sSetup = NO;
|
||||
|
@ -386,9 +386,9 @@ void OODrawStringAligned(NSString *text, GLfloat x, GLfloat y, GLfloat z, NSSize
|
||||
*
|
||||
* - CIM
|
||||
*/
|
||||
void OOStartDrawingStrings();
|
||||
void OOStartDrawingStrings(void);
|
||||
void OODrawStringQuadsAligned(NSString *text, GLfloat x, GLfloat y, GLfloat z, NSSize siz, BOOL rightAlign);
|
||||
void OOStopDrawingStrings();
|
||||
void OOStopDrawingStrings(void);
|
||||
|
||||
|
||||
|
||||
|
@ -49,5 +49,5 @@ NSString *OOLogHandlerGetLogPath(void);
|
||||
NSString *OOLogHandlerGetLogBasePath(void);
|
||||
void OOLogOutputHandlerChangeLogFile(NSString *newLogName);
|
||||
|
||||
void OOLogOutputHandlerStartLoggingToStdout();
|
||||
void OOLogOutputHandlerStopLoggingToStdout();
|
||||
void OOLogOutputHandlerStartLoggingToStdout(void);
|
||||
void OOLogOutputHandlerStopLoggingToStdout(void);
|
||||
|
@ -101,10 +101,10 @@ enum
|
||||
|
||||
@end
|
||||
|
||||
void OOGLPushModelView();
|
||||
OOMatrix OOGLPopModelView();
|
||||
OOMatrix OOGLGetModelView();
|
||||
void OOGLResetModelView();
|
||||
void OOGLPushModelView(void);
|
||||
OOMatrix OOGLPopModelView(void);
|
||||
OOMatrix OOGLGetModelView(void);
|
||||
void OOGLResetModelView(void);
|
||||
void OOGLLoadModelView(OOMatrix matrix);
|
||||
void OOGLMultModelView(OOMatrix matrix);
|
||||
void OOGLTranslateModelView(Vector vector);
|
||||
@ -112,10 +112,10 @@ void OOGLRotateModelView(GLfloat angle, Vector axis);
|
||||
void OOGLScaleModelView(Vector scale);
|
||||
void OOGLLookAt(Vector eye, Vector center, Vector up);
|
||||
|
||||
void OOGLResetProjection();
|
||||
void OOGLPushProjection();
|
||||
OOMatrix OOGLPopProjection();
|
||||
OOMatrix OOGLGetProjection();
|
||||
void OOGLResetProjection(void);
|
||||
void OOGLPushProjection(void);
|
||||
OOMatrix OOGLPopProjection(void);
|
||||
OOMatrix OOGLGetProjection(void);
|
||||
void OOGLLoadProjection(OOMatrix matrix);
|
||||
void OOGLMultProjection(OOMatrix matrix);
|
||||
void OOGLTranslateProjection(Vector vector);
|
||||
@ -125,5 +125,5 @@ void OOGLFrustum(double left, double right, double bottom, double top, double ne
|
||||
void OOGLOrtho(double left, double right, double bottom, double top, double near, double far);
|
||||
void OOGLPerspective(double fovy, double aspect, double zNear, double zFar);
|
||||
|
||||
OOMatrix OOGLGetModelViewProjection();
|
||||
OOMatrix OOGLGetModelViewProjection(void);
|
||||
|
||||
|
@ -29,4 +29,4 @@ MA 02110-1301, USA.
|
||||
#include <jsapi.h>
|
||||
|
||||
void InitOOJSMission(JSContext *context, JSObject *global);
|
||||
void MissionRunCallback();
|
||||
void MissionRunCallback(void);
|
||||
|
@ -65,7 +65,7 @@ extern const Random_Seed kNilRandomSeed;
|
||||
|
||||
|
||||
// checksum stuff
|
||||
void clear_checksum();
|
||||
void clear_checksum(void);
|
||||
int16_t munge_checksum(long long value);
|
||||
|
||||
// cunning price rounding routine:
|
||||
|
Loading…
x
Reference in New Issue
Block a user