Code clean-up.

This commit is contained in:
2020-10-24 04:23:01 +01:00
parent ac3b7f19c7
commit 3c6906afe9
22 changed files with 75 additions and 65 deletions

View File

@@ -15,12 +15,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../aaruremote.h"
#include <malloc.h>
#include <string.h>
#include <sys/utsname.h>
#include "../aaruremote.h"
AaruPacketHello* GetHello()
{
struct utsname utsname;

View File

@@ -15,9 +15,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../aaruremote.h"
#include "../unix/unix.h"
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <stddef.h>
@@ -25,6 +22,9 @@
#include <stdlib.h>
#include <unistd.h>
#include "../aaruremote.h"
#include "unix.h"
int PrintNetworkAddresses()
{
int ret;

View File

@@ -15,10 +15,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "../aaruremote.h"
#include <unistd.h>
#include "../aaruremote.h"
void Initialize()
{
// Do nothing