summaryrefslogtreecommitdiff
path: root/ext/etc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/etc')
-rw-r--r--ext/etc/etc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/etc/etc.c b/ext/etc/etc.c
index 6235d76..64d46c7 100644
--- a/ext/etc/etc.c
+++ b/ext/etc/etc.c
@@ -40,8 +40,7 @@ char *getlogin();
* Etc.getlogin -> 'guest'
*/
static VALUE
-etc_getlogin(obj)
- VALUE obj;
+etc_getlogin(VALUE obj)
{
char *login;
@@ -60,8 +59,7 @@ etc_getlogin(obj)
#if defined(HAVE_GETPWENT) || defined(HAVE_GETGRENT)
static VALUE
-safe_setup_str(str)
- const char *str;
+safe_setup_str(const char *str)
{
if (str == 0) str = "";
return rb_tainted_str_new2(str);