summaryrefslogtreecommitdiff
path: root/embed.fnc
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-11-24 21:28:27 +0100
committerNicholas Clark <nick@ccl4.org>2011-12-04 13:01:52 +0100
commitb6f82619da63473c236f7d338cafcc1bfd4bafe3 (patch)
tree39ec9b2e7fbf818aa3239fcd237c0ba49039ad16 /embed.fnc
parent08ad9465eddc2d08165efd8d3767520c6897b2fe (diff)
downloadperl-b6f82619da63473c236f7d338cafcc1bfd4bafe3.tar.gz
Refactor S_usage() to take 0 parameters and exit directly().
This simplifies the code, as it's only called from one spot, in Perl_moreswitches().
Diffstat (limited to 'embed.fnc')
-rw-r--r--embed.fnc2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed.fnc b/embed.fnc
index 0c3c3f891d..4c8a364b3c 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -1756,7 +1756,7 @@ rs |void |my_exit_jump
s |void |nuke_stacks
s |int |open_script |NN const char *scriptname|bool dosearch \
|NN bool *suidscript|NN PerlIO **rsfpp
-s |void |usage |NN const char *name
+sr |void |usage
#ifndef SETUID_SCRIPTS_ARE_SECURE_NOW
so |void |validate_suid |NN PerlIO *rsfp
#endif