Skip to content

Commit

Permalink
Cleanup of cinit.graph.text.c and update it to current cinit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico Schottelius committed May 20, 2007
1 parent 18c74dd commit 065434e
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 3 deletions.
3 changes: 2 additions & 1 deletion TODO
Expand Up @@ -251,7 +251,6 @@ TODO.pre10:
* so not only booting with cinit works, but also the shutdown * so not only booting with cinit works, but also the shutdown
- find out why gettimeofday() and time() do strange things when called in SIG_CHLD - find out why gettimeofday() and time() do strange things when called in SIG_CHLD
=> bug opened in glibc, got to code testprogram => bug opened in glibc, got to code testprogram
cleanup client/ comm/ contrib+tools/ util/ tmp/
- write cinit.conf.check - write cinit.conf.check
* report broken links in needs/wants * report broken links in needs/wants
* report circular dependencies * report circular dependencies
Expand All @@ -266,6 +265,8 @@ TODO.pre10:
* reboot * reboot
* poweroff * poweroff


Done:
cleanup client/ comm/ contrib+tools/ util/ tmp/


TODO.pre11: TODO.pre11:
cleanup src/ cleanup src/
Expand Down
2 changes: 1 addition & 1 deletion contrib+tools/Makefile
Expand Up @@ -42,7 +42,7 @@ bindir = $(prefix)/bin


CLIENT=cinit.graph.text.o CLIENT=cinit.graph.text.o


COMMUNICATION=error.o ../generic/usage.o ../generic/mini_printf.o COMMUNICATION=error.o usage.o mini_printf.o


OBJ=$(CLIENT) $(COMMUNICATION) OBJ=$(CLIENT) $(COMMUNICATION)


Expand Down
2 changes: 1 addition & 1 deletion contrib+tools/cinit.graph.text.c
Expand Up @@ -29,7 +29,7 @@
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "cinit.h" //#include "cinit.h"
#include "error.h" #include "error.h"


#define FTW_F 1 /* file isn't a directory */ #define FTW_F 1 /* file isn't a directory */
Expand Down
17 changes: 17 additions & 0 deletions contrib+tools/cinit.h
@@ -0,0 +1,17 @@
/***********************************************************************
*
* 2007 Nico Schottelius (nico-cinit //@\\ schottelius.org)
*
* part of cLinux/cinit
*
* Dummy header file to intgrate mini_printf and usage
*/

#ifndef CINIT_DUMMY_HEADER
#define CINIT_DUMMY_HEADER

void usage(char *banner, char *text);
void mini_printf(char *str,int fd);


#endif
1 change: 1 addition & 0 deletions contrib+tools/mini_printf.c
1 change: 1 addition & 0 deletions contrib+tools/usage.c

0 comments on commit 065434e

Please sign in to comment.