Skip to content

Commit a9c6d12

Browse files
committed
Remove unnecessary main()
1 parent 0de8f43 commit a9c6d12

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/main.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,3 @@ static __attribute__((constructor)) void
9393
init(void) {
9494
intercept_hook_point = &hook;
9595
}
96-
/*
97-
int
98-
main (void)
99-
{
100-
struct syscall *calls = get_calls();
101-
102-
puts ("Hello World!");
103-
puts ("This is " PACKAGE_STRING ".");
104-
puts (LOG_FILE);
105-
// printf ("%ld", calls->callnum);
106-
long *result = (long *) malloc(LONG_MAX);
107-
hook(SYS_umount2, 0, 0, 0, 0, 0, 0, result);
108-
printf("%ld", *result);
109-
return 0;
110-
}
111-
*/

0 commit comments

Comments
 (0)