make buildable
This commit is contained in:
parent
87bc04b75a
commit
f2268e471a
@ -1,2 +1,2 @@
|
||||
libfatstr.o: libfatstr.c libfatstr.h
|
||||
$(CC) -g -o libfatstr.o libfatstr.c
|
||||
$(CC) -c -g -o libfatstr.o libfatstr.c
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <stdlib.h> /* free(3), malloc(3), realloc(3) */
|
||||
#include <string.h> /* strncpy(3) */
|
||||
#include "fatstr.h"
|
||||
#include "libfatstr.h"
|
||||
|
||||
/* quick and dirty ASCII edition */
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
typedef FatStr_size_t size_t;
|
||||
typedef FatStr_scalar_t int;
|
||||
typedef FatStr_vector_t FatStr_scalar_t *;
|
||||
typedef size_t FatStr_size_t;
|
||||
typedef int FatStr_scalar_t;
|
||||
typedef FatStr_scalar_t * FatStr_vector_t;
|
||||
|
||||
struct FatStr{
|
||||
FatStr_size_t a; /* allocation */
|
||||
@ -9,7 +9,7 @@ struct FatStr{
|
||||
};
|
||||
|
||||
struct FatStr *FatStr_append(struct FatStr *p, FatStr_scalar_t c);
|
||||
FatStr_vector_t FatStr_convert(struct FatStr *p);
|
||||
char *FatStr_convert(struct FatStr *p);
|
||||
struct FatStr *FatStr_destruct(struct FatStr *p);
|
||||
struct FatStr *FatStr_initialize(struct FatStr *p);
|
||||
struct FatStr *FatStr_trimfront(
|
||||
struct FatStr *FatStr_trimfront();
|
||||
|
Loading…
Reference in New Issue
Block a user