Name:
Anonymous
2015-04-28 20:29
1. put the code into a separate library
2. statically link that library in each binary it's used
fucking LOL
suckless logic is almost the same as women logic (utterly retarded)
Name:
Anonymous
2015-04-28 20:35
suckless hello world implementation:
#include "util.h"
int main() {
print_hello();
}
LOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOLOL
Name:
Anonymous
2015-04-28 22:38
Wow, check out this putword implementation
/* See LICENSE file for copyright and license details. */
#include <stdio.h>
#include "../util.h"
void
putword(FILE *fp, const char *s)
{
static int first = 1;
if (!first)
fputc(' ', fp);
fputs(s, fp);
first = 0;
}