summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/POSIX/POSIX.xs3
-rw-r--r--jpl/JNI/JNI.xs10
2 files changed, 5 insertions, 8 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs
index 4a5a2a0743..b228e1bbab 100644
--- a/ext/POSIX/POSIX.xs
+++ b/ext/POSIX/POSIX.xs
@@ -316,8 +316,7 @@ char *tzname[] = { "" , "" };
#ifdef STRUCT_TM_HASZONE
static void
-init_tm(ptm) /* see mktime, strftime and asctime */
- struct tm *ptm;
+init_tm(struct tm *ptm) /* see mktime, strftime and asctime */
{
Time_t now;
(void)time(&now);
diff --git a/jpl/JNI/JNI.xs b/jpl/JNI/JNI.xs
index 97416db760..8a3015a014 100644
--- a/jpl/JNI/JNI.xs
+++ b/jpl/JNI/JNI.xs
@@ -17,7 +17,8 @@ extern int jpldebug;
#define SysRet jint
-static void call_my_exit(jint status)
+static void
+call_my_exit(jint status)
{
my_exit(status);
}
@@ -418,17 +419,14 @@ cleanup:
}
static int
-not_here(s)
-char *s;
+not_here(char *s)
{
croak("%s not implemented on this architecture", s);
return -1;
}
static double
-constant(name, arg)
-char *name;
-int arg;
+constant(char *name, int arg)
{
errno = 0;
switch (*name) {