LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File otp_src_R15B03-1-erts-erlexec.patch of Package erlang (Project home:Ledest:erlang:R15)

diff -Ndurp otp_src_R15B03-1/erts/etc/common/erlexec.c otp_src_R15B03-1-erts-erlexec/erts/etc/common/erlexec.c
--- otp_src_R15B03-1/erts/etc/common/erlexec.c	2012-12-06 16:02:45.000000000 +0200
+++ otp_src_R15B03-1-erts-erlexec/erts/etc/common/erlexec.c	2015-01-18 19:26:13.000000000 +0200
@@ -182,7 +182,6 @@ void error(char* format, ...);
 #if !defined(ERTS_HAVE_SMP_EMU)
 static void usage_notsup(const char *switchname);
 #endif
-static void usage_msg(const char *msg);
 static char **build_args_from_env(char *env_var);
 static char **build_args_from_string(char *env_var);
 static void initial_argv_massage(int *argc, char ***argv);
@@ -1128,13 +1127,6 @@ usage_notsup(const char *switchname)
 #endif
 
 static void
-usage_msg(const char *msg)
-{
-    fprintf(stderr, "%s\n", msg);
-    usage_aux();
-}
-
-static void
 usage_format(char *format, ...)
 {
     va_list args;