tree: clean up whitespace and includes
This commit is contained in:
parent
21feabdded
commit
bbf9b88c66
8 changed files with 9 additions and 21 deletions
|
@ -4,7 +4,6 @@
|
|||
*/
|
||||
|
||||
#ifndef _CALLISTO_H_
|
||||
|
||||
#define _CALLISTO_H_
|
||||
|
||||
#include <lua.h>
|
||||
|
|
6
lcl.c
6
lcl.c
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
3
lextra.c
3
lextra.c
|
@ -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
1
lfs.c
|
@ -24,7 +24,6 @@
|
|||
#include <lua.h>
|
||||
#include <lauxlib.h>
|
||||
|
||||
#include "callisto.h"
|
||||
#include "util.h"
|
||||
|
||||
/***
|
||||
|
|
|
@ -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
2
util.h
|
@ -4,10 +4,10 @@
|
|||
*/
|
||||
|
||||
#ifndef _UTIL_H_
|
||||
|
||||
#define _UTIL_H_
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include <lua.h>
|
||||
|
||||
int lfail(lua_State *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue