mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
renamed: psyc.c -> packet.c
This commit is contained in:
parent
a253f96283
commit
da7f39edc3
3 changed files with 4 additions and 4 deletions
|
@ -2,8 +2,8 @@ CFLAGS=-I../include -DDEBUG=2 -DPSYC_COMPILE_LIBRARY -g -O0 -Wall
|
||||||
CC=cc
|
CC=cc
|
||||||
# CC=clang
|
# CC=clang
|
||||||
|
|
||||||
S=psyc.c parser.c match.c render.c memmem.c itoa.c variable.c
|
S=packet.c misc.c parser.c match.c render.c memmem.c itoa.c variable.c
|
||||||
O=psyc.o parser.o match.o render.o memmem.o itoa.o variable.o
|
O=packet.o misc.o parser.o match.o render.o memmem.o itoa.o variable.o
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc"
|
@/bin/echo -e "Usage:\n\tmake diet - compile with diet libc\n\tmake lib - compile with normal gnu libc"
|
||||||
|
|
2
src/misc.c
Normal file
2
src/misc.c
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
int PSYC_version() { return 1; }
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
int PSYC_version() { return 1; }
|
|
||||||
|
|
||||||
inline PSYC_String PSYC_newString(const char *str, size_t strlen)
|
inline PSYC_String PSYC_newString(const char *str, size_t strlen)
|
||||||
{
|
{
|
||||||
PSYC_String s = {strlen, str};
|
PSYC_String s = {strlen, str};
|
Loading…
Reference in a new issue