Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/sljit/dist/sljit_src Import sljit @ r176.
details: https://anonhg.NetBSD.org/src/rev/9bee4e229632
branches: trunk
changeset: 782219:9bee4e229632
user: alnsn <alnsn%NetBSD.org@localhost>
date: Sun Oct 21 19:07:18 2012 +0000
description:
Import sljit @ r176.
r176: Add void to function definitions. Patch by Alexander Nasonov
diffstat:
sys/external/bsd/sljit/dist/sljit_src/sljitLir.c | 2 +-
sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_Thumb2.c | 2 +-
sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_v5.c | 4 ++--
sys/external/bsd/sljit/dist/sljit_src/sljitNativeMIPS_common.c | 2 +-
sys/external/bsd/sljit/dist/sljit_src/sljitNativePPC_common.c | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
diffs (69 lines):
diff -r 127e78cd804a -r 9bee4e229632 sys/external/bsd/sljit/dist/sljit_src/sljitLir.c
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c Sun Oct 21 15:46:00 2012 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitLir.c Sun Oct 21 19:07:18 2012 +0000
@@ -1375,7 +1375,7 @@
/* Empty function bodies for those machines, which are not (yet) supported. */
-SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name()
+SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name(void)
{
return "unsupported";
}
diff -r 127e78cd804a -r 9bee4e229632 sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_Thumb2.c
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_Thumb2.c Sun Oct 21 15:46:00 2012 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_Thumb2.c Sun Oct 21 19:07:18 2012 +0000
@@ -24,7 +24,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name()
+SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name(void)
{
return "ARM-Thumb2" SLJIT_CPUINFO;
}
diff -r 127e78cd804a -r 9bee4e229632 sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_v5.c
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_v5.c Sun Oct 21 15:46:00 2012 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitNativeARM_v5.c Sun Oct 21 19:07:18 2012 +0000
@@ -24,7 +24,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name()
+SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name(void)
{
#if (defined SLJIT_CONFIG_ARM_V7 && SLJIT_CONFIG_ARM_V7)
return "ARMv7" SLJIT_CPUINFO;
@@ -1982,7 +1982,7 @@
1 - vfp */
static int arm_fpu_type = -1;
-static void init_compiler()
+static void init_compiler(void)
{
if (arm_fpu_type != -1)
return;
diff -r 127e78cd804a -r 9bee4e229632 sys/external/bsd/sljit/dist/sljit_src/sljitNativeMIPS_common.c
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitNativeMIPS_common.c Sun Oct 21 15:46:00 2012 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitNativeMIPS_common.c Sun Oct 21 19:07:18 2012 +0000
@@ -24,7 +24,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name()
+SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name(void)
{
return "MIPS" SLJIT_CPUINFO;
}
diff -r 127e78cd804a -r 9bee4e229632 sys/external/bsd/sljit/dist/sljit_src/sljitNativePPC_common.c
--- a/sys/external/bsd/sljit/dist/sljit_src/sljitNativePPC_common.c Sun Oct 21 15:46:00 2012 +0000
+++ b/sys/external/bsd/sljit/dist/sljit_src/sljitNativePPC_common.c Sun Oct 21 19:07:18 2012 +0000
@@ -24,7 +24,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name()
+SLJIT_API_FUNC_ATTRIBUTE SLJIT_CONST char* sljit_get_platform_name(void)
{
return "PowerPC" SLJIT_CPUINFO;
}
Home |
Main Index |
Thread Index |
Old Index