403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/astro/mymoon/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/astro/mymoon/files/patch-mymoon.c
--- mymoon.c.orig	2003-07-16 11:13:55 UTC
+++ mymoon.c
@@ -1,4 +1,4 @@
-#include <libnova.h>
+#include <libnova/libnova.h>
 #include <curses.h>
 #include <time.h>
 #include <stdlib.h>
@@ -59,7 +59,7 @@ memset(&date2, 0, sizeof(date2));
 memset(&date3, 0, sizeof(date3));
 
 while (1) {
-julian=get_julian_from_sys();
+julian=ln_get_julian_from_sys();
 age=moonphase();
 
 
@@ -67,12 +67,12 @@ if ( (latitude != 0) || (longitude != 0 
 observer.lng=latitude;
 observer.lat=longitude;
 } else {observer.lng=45.12;observer.lat=8.42;}
-light=100*get_lunar_disk(julian);
-dist=get_lunar_earth_dist(julian);
-get_lunar_rst(julian,&observer,&rst);
-get_date(rst.rise,&date1);
-get_date(rst.set,&date2);
-get_date(julian,&date3);
+light=100*ln_get_lunar_disk(julian);
+dist=ln_get_lunar_earth_dist(julian);
+ln_get_lunar_rst(julian,&observer,&rst);
+ln_get_date(rst.rise,&date1);
+ln_get_date(rst.set,&date2);
+ln_get_date(julian,&date3);
 getmaxyx(stdscr,row,cols);
 grapher(dist,row,date1,date2,date3,age,light);
 napms(update * 1000);

Youez - 2016 - github.com/yon3zu
LinuXploit