1
0
Fork 0
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:
psyc://psyced.org/~lynX 2011-04-25 22:38:42 +02:00
parent 16d24be752
commit b3cea3e614
3 changed files with 4 additions and 4 deletions

View file

@ -2,8 +2,8 @@ CFLAGS=-I../include -DDEBUG=2 -DPSYC_COMPILE_LIBRARY -g -O0 -Wall
CC=cc
# CC=clang
S=psyc.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
S=packet.c misc.c parser.c match.c render.c memmem.c itoa.c variable.c
O=packet.o misc.o parser.o match.o render.o memmem.o itoa.o variable.o
default:
@/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
View file

@ -0,0 +1,2 @@
int PSYC_version() { return 1; }

View file

@ -3,8 +3,6 @@
#include <math.h>
int PSYC_version() { return 1; }
inline PSYC_String PSYC_newString(const char *str, size_t strlen)
{
PSYC_String s = {strlen, str};