tml.tm_sec = (int) (tm->msec / 1000);
tml.tm_min = (int) tm->min;
tml.tm_hour = (int)tm->hour;
tml.tm_isdst = (int)tm->su;
tml.tm_mday = (int)tm->mday;
tml.tm_mon =(int) tm->month - 1;
tml.tm_year =(int) tm->year + 100;
if(&tml
!=NULL
)printf("Pointer is not null\n"); printf("Transfer finished\n");
return tv;
dG1sLnRtX3NlYyA9IChpbnQpICh0bS0+bXNlYyAvIDEwMDApOwoJdG1sLnRtX21pbiA9IChpbnQpIHRtLT5taW47Cgl0bWwudG1faG91ciA9IChpbnQpdG0tPmhvdXI7Cgl0bWwudG1faXNkc3QgPSAoaW50KXRtLT5zdTsKCXRtbC50bV9tZGF5ID0gKGludCl0bS0+bWRheTsKCXRtbC50bV9tb24gPShpbnQpIHRtLT5tb250aCAtIDE7Cgl0bWwudG1feWVhciA9KGludCkgdG0tPnllYXIgKyAxMDA7CglpZigmdG1sIT1OVUxMKXByaW50ZigiUG9pbnRlciBpcyBub3QgbnVsbFxuIik7CglwcmludGYoIlRyYW5zZmVyIGZpbmlzaGVkXG4iKTsKCQoJdGltZV90IHR2PW1rdGltZSgmdG1sKTsKCWlmKHR2PT0tMSlwcmludGYoImVycm9yIik7CgllbHNlIHByaW50ZigiJWkiLChpbnQpdHYpOwoJcmV0dXJuIHR2OyA=
prog.c:1:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
tml.tm_sec = (int) (tm->msec / 1000);
^
prog.c:2:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
tml.tm_min = (int) tm->min;
^
prog.c:3:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
tml.tm_hour = (int)tm->hour;
^
prog.c:4:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
tml.tm_isdst = (int)tm->su;
^
prog.c:5:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
tml.tm_mday = (int)tm->mday;
^
prog.c:6:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
tml.tm_mon =(int) tm->month - 1;
^
prog.c:7:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
tml.tm_year =(int) tm->year + 100;
^
prog.c:8:2: error: expected identifier or '(' before 'if'
if(&tml!=NULL)printf("Pointer is not null\n");
^
prog.c:9:9: error: expected declaration specifiers or '...' before string constant
printf("Transfer finished\n");
^
prog.c:11:2: error: unknown type name 'time_t'
time_t tv=mktime(&tml);
^
prog.c:11:2: warning: implicit declaration of function 'mktime' [-Wimplicit-function-declaration]
prog.c:11:20: error: 'tml' undeclared here (not in a function)
time_t tv=mktime(&tml);
^
prog.c:12:2: error: expected identifier or '(' before 'if'
if(tv==-1)printf("error");
^
prog.c:13:2: error: expected identifier or '(' before 'else'
else printf("%i",(int)tv);
^
prog.c:14:2: error: expected identifier or '(' before 'return'
return tv;
^