Skip to content

Commit 5ad3b7c

Browse files
committed
Trivial: Remove trailing whitespace in applink
1 parent e865a0c commit 5ad3b7c

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

deimos/openssl/applink.d

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -45,53 +45,53 @@ enum _O_TEXT = 0x4000;
4545

4646
extern(C)
4747
{
48-
void *app_stdin()
49-
{
50-
return cast(void*)stdin;
48+
void *app_stdin()
49+
{
50+
return cast(void*)stdin;
5151
}
52-
53-
void *app_stdout()
54-
{
55-
return cast(void*)stdout;
52+
53+
void *app_stdout()
54+
{
55+
return cast(void*)stdout;
5656
}
57-
58-
void *app_stderr()
59-
{
60-
return cast(void*)stderr;
57+
58+
void *app_stderr()
59+
{
60+
return cast(void*)stderr;
6161
}
62-
63-
int app_feof(FILE *fp)
64-
{
65-
return feof(fp);
62+
63+
int app_feof(FILE *fp)
64+
{
65+
return feof(fp);
6666
}
67-
68-
int app_ferror(FILE *fp)
69-
{
70-
return ferror(fp);
67+
68+
int app_ferror(FILE *fp)
69+
{
70+
return ferror(fp);
7171
}
72-
72+
7373
void app_clearerr(FILE *fp)
74-
{
75-
clearerr(fp);
74+
{
75+
clearerr(fp);
7676
}
77-
78-
int app_fileno(FILE *fp)
79-
{
80-
return _fileno(fp);
77+
78+
int app_fileno(FILE *fp)
79+
{
80+
return _fileno(fp);
8181
}
82-
82+
8383
int app_fsetmod(FILE *fp, char mod)
84-
{
85-
return _setmode (_fileno(fp),mod=='b'?_O_BINARY:_O_TEXT);
84+
{
85+
return _setmode (_fileno(fp),mod=='b'?_O_BINARY:_O_TEXT);
8686
}
87-
87+
8888
__gshared bool once = true;
8989
__gshared void*[APPLINK_MAX+1] OPENSSL_ApplinkTable = cast(void*)APPLINK_MAX;
90-
90+
9191
export void** OPENSSL_Applink()
92-
{
92+
{
9393
if (once)
94-
{
94+
{
9595
OPENSSL_ApplinkTable[APPLINK_STDIN] = &app_stdin;
9696
OPENSSL_ApplinkTable[APPLINK_STDOUT] = &app_stdout;
9797
OPENSSL_ApplinkTable[APPLINK_STDERR] = &app_stderr;
@@ -102,24 +102,24 @@ extern(C)
102102
OPENSSL_ApplinkTable[APPLINK_FSETMOD] = &app_fsetmod;
103103
OPENSSL_ApplinkTable[APPLINK_FEOF] = &app_feof;
104104
OPENSSL_ApplinkTable[APPLINK_FCLOSE] = &fclose;
105-
105+
106106
OPENSSL_ApplinkTable[APPLINK_FOPEN] = &fopen;
107107
OPENSSL_ApplinkTable[APPLINK_FSEEK] = &fseek;
108108
OPENSSL_ApplinkTable[APPLINK_FTELL] = &ftell;
109109
OPENSSL_ApplinkTable[APPLINK_FFLUSH] = &fflush;
110110
OPENSSL_ApplinkTable[APPLINK_FERROR] = &app_ferror;
111111
OPENSSL_ApplinkTable[APPLINK_CLEARERR] = &app_clearerr;
112112
OPENSSL_ApplinkTable[APPLINK_FILENO] = &app_fileno;
113-
113+
114114
OPENSSL_ApplinkTable[APPLINK_OPEN] = &fopen;
115115
OPENSSL_ApplinkTable[APPLINK_READ] = &fread;
116116
OPENSSL_ApplinkTable[APPLINK_WRITE] = &fwrite;
117117
OPENSSL_ApplinkTable[APPLINK_LSEEK] = &fseek;
118118
OPENSSL_ApplinkTable[APPLINK_CLOSE] = &fclose;
119-
119+
120120
once = false;
121121
}
122-
122+
123123
return OPENSSL_ApplinkTable.ptr;
124124
}
125-
}
125+
}

0 commit comments

Comments
 (0)