Skip to content

Commit

Permalink
remove unneeded dependencies from run-as
Browse files Browse the repository at this point in the history
  • Loading branch information
f0k committed Jan 10, 2021
1 parent 4746152 commit 67221ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
LOCAL_MODULE := run-as
LOCAL_SRC_FILES := \
dirtycow.c \
run-as.c

LOCAL_CFLAGS += -DDEBUG
Expand Down
2 changes: 0 additions & 2 deletions run-as.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ char __aeabi_unwind_cpp_pr0[0];
typedef int getcon_t(char ** con);
typedef int setcon_t(const char* con);

extern int dcow(int argc, const char *argv[]);

int main(int argc, const char **argv)
{
LOGV("uid %s %d", argv[0], getuid());
Expand Down

0 comments on commit 67221ed

Please sign in to comment.