[前][次][番号順一覧][スレッド一覧]

ruby-changes:43164

From: nobu <ko1@a...>
Date: Wed, 1 Jun 2016 09:53:06 +0900 (JST)
Subject: [ruby-changes:43164] nobu:r55238 (trunk): crypt_r.c: adjust style

nobu	2016-06-01 09:52:59 +0900 (Wed, 01 Jun 2016)

  New Revision: 55238

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55238

  Log:
    crypt_r.c: adjust style
    
    * missing/crypt_r.c: adjust style to BSD as the original.

  Modified files:
    trunk/missing/crypt_r.c
Index: missing/crypt_r.c
===================================================================
--- missing/crypt_r.c	(revision 55237)
+++ missing/crypt_r.c	(revision 55238)
@@ -313,7 +313,7 @@ static struct crypt_data default_crypt_d https://github.com/ruby/ruby/blob/trunk/missing/crypt_r.c#L313
 char *
 crypt(const char *key, const char *setting)
 {
-    return crypt_r(key, setting, &default_crypt_data);
+	return crypt_r(key, setting, &default_crypt_data);
 }
 
 /*
@@ -413,7 +413,7 @@ crypt_r(const char *key, const char *set https://github.com/ruby/ruby/blob/trunk/missing/crypt_r.c#L413
 void
 des_setkey(const char *key)
 {
-    des_setkey_r(key, &default_crypt_data);
+	des_setkey_r(key, &default_crypt_data);
 }
 
 void
@@ -452,7 +452,7 @@ des_setkey_r(const char *key, struct cry https://github.com/ruby/ruby/blob/trunk/missing/crypt_r.c#L452
 void
 des_cipher(const char *in, char *out, long salt, int num_iter)
 {
-    des_cipher_r(in, out, salt, num_iter, &default_crypt_data);
+	des_cipher_r(in, out, salt, num_iter, &default_crypt_data);
 }
 
 void
@@ -740,7 +740,7 @@ init_perm(C_block perm[64/CHUNKBITS][1<< https://github.com/ruby/ruby/blob/trunk/missing/crypt_r.c#L740
 void
 setkey(const char *key)
 {
-    setkey_r(key, &default_crypt_data);
+	setkey_r(key, &default_crypt_data);
 }
 
 void
@@ -766,7 +766,7 @@ setkey_r(const char *key, struct crypt_d https://github.com/ruby/ruby/blob/trunk/missing/crypt_r.c#L766
 void
 encrypt(char *block, int flag)
 {
-    encrypt_r(block, flag, &default_crypt_data);
+	encrypt_r(block, flag, &default_crypt_data);
 }
 
 void

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]