diff --git a/scconfig/src/gui/find_lesstif2.c b/scconfig/src/gui/find_lesstif2.c index b5af9154..37baa053 100644 --- a/scconfig/src/gui/find_lesstif2.c +++ b/scconfig/src/gui/find_lesstif2.c @@ -27,7 +27,7 @@ #include "db.h" #include "dep.h" -int find_lesstif2(const char *name, int logdepth, int fatal, const char *call, const char *arg) +int find_lesstif2(const char *name, int logdepth, int fatal) { const char *test_c = NL "#include " @@ -47,8 +47,6 @@ int find_lesstif2(const char *name, int logdepth, int fatal, const char *call, c const char *node = "libs/gui/lesstif2"; char **cflags, *cflags_arr[] = {"", "-I/opt/X11/include", NULL}; char **ldflags, *ldflags_arr[] = {"-lXm -lX11", "-lXm -lXt", "-L/opt/X11/lib -lXm -lXt -lX11", NULL}; /* note: -lXt must be after -lXm else lesstif fails to init with runtime error */ - (void) call; /* not used */ - (void) arg; /* not used */ if (require("cc/cc", logdepth, fatal)) return 1; @@ -68,7 +66,7 @@ int find_lesstif2(const char *name, int logdepth, int fatal, const char *call, c } -int find_lesstif2_exthi(const char *name, int logdepth, int fatal) /* , const char *call, const char *arg) */ +int find_lesstif2_exthi(const char *name, int logdepth, int fatal) { const char *test_c = NL "#include " @@ -79,11 +77,7 @@ int find_lesstif2_exthi(const char *name, int logdepth, int fatal) /* , const ch NL; const char *node = "libs/gui/lesstif2/exthi"; -// char **cflags, *cflags_arr[] = {"", "-I/opt/X11/include", NULL}; -// char **ldflags, *ldflags_arr[] = {"-lXm -lX11", "-lXm -lXt", "-L/opt/X11/lib -lXm -lXt -lX11", NULL}; /* note: -lXt must be after -lXm else lesstif fails to init with runtime error */ const char *cflags, *ldflags; -/* (void) call; */ /* not used */ -/* (void) arg; */ /* not used */ if (require("cc/cc", logdepth, fatal) || require("libs/gui/lesstif2", logdepth, fatal)) return 1; diff --git a/scconfig/src/gui/find_lesstif2.h b/scconfig/src/gui/find_lesstif2.h index 637ea3a6..a7aa5153 100644 --- a/scconfig/src/gui/find_lesstif2.h +++ b/scconfig/src/gui/find_lesstif2.h @@ -1,2 +1,2 @@ int find_lesstif2(const char *name, int logdepth, int fatal); -int find_lesstif2_exthi(const char *name, int logdepth, int fatal); /* , const char *call, const char *arg); */ +int find_lesstif2_exthi(const char *name, int logdepth, int fatal);