Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_file.c

    r19f857a rd8f92868  
    3838#include <errno.h>
    3939#include <stdlib.h>
    40 #include <str.h>
     40#include <string.h>
    4141#include <assert.h>
    4242#include <bool.h>
    4343#include <fibril.h>
    44 #include <fibril_synch.h>
     44#include <fibril_sync.h>
    4545#include "vfs.h"
    4646
     
    7272        }
    7373        return true;
    74 }
    75 
    76 /** Cleanup the table of open files. */
    77 void vfs_files_done(void)
    78 {
    79         int i;
    80 
    81         if (!files)
    82                 return;
    83 
    84         for (i = 0; i < MAX_OPEN_FILES; i++) {
    85                 if (files[i]) {
    86                         (void) vfs_close_internal(files[i]);
    87                         (void) vfs_fd_free(i);
    88                 }
    89         }
    90        
    91         free(files);
    9274}
    9375
Note: See TracChangeset for help on using the changeset viewer.