cen64/os/posix/main.c
Tyler J. Stachecki 2bc82052c3 Change default visibility to hidden, expose entrypoint.
If we restrict the number of entrypoints to limit the scope
of what can be called from outside the .so, the compiler can
generate more optimized code.
2016-09-04 09:21:36 -04:00

18 lines
449 B
C

//
// os/posix/main.c: Entry point for POSIX backend.
//
// CEN64: Cycle-Accurate Nintendo 64 Emulator.
// Copyright (C) 2015, Tyler J. Stachecki.
//
// This file is subject to the terms and conditions defined in
// 'LICENSE', which is part of this source code package.
//
#include "cen64.h"
// Unix application entry point.
__attribute__((visibility("default")))
int posix_main(int argc, const char *argv[]) {
return cen64_main(argc, argv);
}