Removed a number of useless #includes

This commit is contained in:
Kees van Reeuwijk
2010-01-26 10:59:01 +00:00
parent 76f8132545
commit b67f788eea
76 changed files with 9 additions and 101 deletions

View File

@@ -31,7 +31,6 @@ _PROTOTYPE( int do_shmat, (message *) );
_PROTOTYPE( int do_shmdt, (message *) );
_PROTOTYPE( int do_shmctl, (message *) );
_PROTOTYPE( int check_perm, (struct ipc_perm *, endpoint_t, int) );
_PROTOTYPE( void list_shm_ds, (void) );
_PROTOTYPE( void update_refcount_and_destroy, (void) );
_PROTOTYPE( int do_semget, (message *) );
_PROTOTYPE( int do_semctl, (message *) );

View File

@@ -5,7 +5,7 @@ PUBLIC endpoint_t who_e;
PUBLIC int call_type;
PUBLIC endpoint_t SELF_E;
struct {
PRIVATE struct {
int type;
int (*func)(message *);
int reply; /* whether the reply action is passed through */
@@ -21,7 +21,7 @@ struct {
#define SIZE(a) (sizeof(a)/sizeof(a[0]))
int verbose = 0;
PRIVATE int verbose = 0;
/* SEF functions and variables. */
FORWARD _PROTOTYPE( void sef_local_startup, (void) );

View File

@@ -328,7 +328,7 @@ PUBLIC int do_shmctl(message *m)
return OK;
}
PUBLIC void list_shm_ds(void)
PRIVATE void list_shm_ds(void)
{
int i;
printf("key\tid\tpage\n");