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 a253f96283
commit da7f39edc3
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=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
View file

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

View file

@ -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};