summaryrefslogtreecommitdiff
path: root/ext/standard/pack.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-24 00:12:00 +0000
committerZeev Suraski <zeev@php.net>1999-04-24 00:12:00 +0000
commit0818d96c97ceec4dbb8251c5220a2fdcdf39f355 (patch)
treec56f529e445e4bee928e7c28e0ccbb7f67572f16 /ext/standard/pack.c
parent05d24c60223439b94d4100538331fb6749022ca3 (diff)
downloadphp-git-0818d96c97ceec4dbb8251c5220a2fdcdf39f355.tar.gz
A lot of cleanups... Removed old thread-safe code and other redundant code and files
Diffstat (limited to 'ext/standard/pack.c')
-rw-r--r--ext/standard/pack.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/standard/pack.c b/ext/standard/pack.c
index b6dfd1f5eb..3b4eab24cf 100644
--- a/ext/standard/pack.c
+++ b/ext/standard/pack.c
@@ -122,7 +122,6 @@ PHP_FUNCTION(pack)
int formatcount = 0;
int outputpos = 0, outputsize = 0;
char *output;
- TLS_VARS;
argc = ARG_COUNT(ht);
@@ -502,7 +501,6 @@ PHP_FUNCTION(unpack)
int formatlen;
int inputpos, inputlen;
int i;
- TLS_VARS;
if ((ARG_COUNT(ht) != 2) || getParameters(ht, 2, &formatarg, &inputarg) == FAILURE) {
WRONG_PARAM_COUNT;
@@ -811,7 +809,6 @@ int php3_minit_pack(INIT_FUNC_ARGS)
{
int machine_endian_check = 1;
int i;
- TLS_VARS;
machine_little_endian = ((char *)&machine_endian_check)[0];