2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

remove funktion prototypes to avoid conflicts and the known prototype traps

git-svn-id: https://svn.fhem.de/fhem/trunk@1389 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
unimatrix27 2012-03-25 20:51:22 +00:00
parent 338ef231ca
commit a070fa016d

View File

@ -133,7 +133,7 @@ sub Twilight_Undef($$) {
sub twilight_midnight_seconds() { my @time = localtime(); my $secs = ($time[2] * 3600) + ($time[1] * 60) + $time[0]; return $secs; }
sub Twilight_GetUpdate($){
sub Twilight_GetUpdate{
my ($hash) = @_;
my @sunrise_set;
@ -239,7 +239,7 @@ sub Twilight_GetUpdate($){
return 1;
}
sub twilight_calc() {
sub twilight_calc {
my $latitude=shift;
my $longitude=shift;
my $horizon=shift;
@ -262,7 +262,7 @@ sub twilight_calc() {
return $sunrise, $sunset;
}
sub Twilight_getWeatherHorizon(){
sub Twilight_getWeatherHorizon{
my $location=shift;
#my $xml = GetHttpFile("www.google.com:80", "/ig/api?weather=" . $location . "&hl=en");
#$xml =~/\<current_conditions\>(.*)\<\/current_conditions\>/;