tree: clean up whitespace and includes

This commit is contained in:
Jeremy Baxter 2024-03-11 12:28:50 +13:00
parent 21feabdded
commit bbf9b88c66
8 changed files with 9 additions and 21 deletions

View file

@ -4,7 +4,6 @@
*/
#ifndef _CALLISTO_H_
#define _CALLISTO_H_
#include <lua.h>

6
lcl.c
View file

@ -9,17 +9,15 @@
* @module cl
*/
#include <stdlib.h>
#include <libgen.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <libgen.h>
#include <errno.h>
#include <lua.h>
#include <lauxlib.h>
#include "callisto.h"
#include "util.h"
static void

View file

@ -8,17 +8,14 @@
* @module environ
*/
#include <stdlib.h>
#include <errno.h>
#include <stdlib.h>
#include <lua.h>
#include <lauxlib.h>
#include "callisto.h"
extern char **environ;
/***
* Table enabling easy access to environment
* variables.

View file

@ -17,9 +17,6 @@
#include <lua.h>
#include <lauxlib.h>
#include "callisto.h"
#include "util.h"
/***
* Waits the specified amount of seconds.
*

1
lfs.c
View file

@ -24,7 +24,6 @@
#include <lua.h>
#include <lauxlib.h>
#include "callisto.h"
#include "util.h"
/***

View file

@ -9,16 +9,14 @@
* @module process
*/
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <unistd.h>
#include <lua.h>
#include <lauxlib.h>
#include "callisto.h"
#include "util.h"
#define PID_MAX 8 /* rounded to the nearest even number */

2
util.h
View file

@ -4,10 +4,10 @@
*/
#ifndef _UTIL_H_
#define _UTIL_H_
#include <stddef.h>
#include <lua.h>
int lfail(lua_State *);