/[hurd]/hurd/console-client/driver.c
ViewVC logotype

Diff of /hurd/console-client/driver.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by marcus, Fri Oct 22 21:13:56 2004 UTC revision 1.5 by marco_g, Thu Jan 6 21:43:53 2005 UTC
# Line 1  Line 1 
1  /* driver.c - The console client driver code.  /* driver.c - The console client driver code.
2     Copyright (C) 2002, 2004 Free Software Foundation, Inc.     Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
3     Written by Marcus Brinkmann.     Written by Marcus Brinkmann.
4    
5     This file is part of the GNU Hurd.     This file is part of the GNU Hurd.
# Line 248  error_t Line 248  error_t
248  driver_start (char **name)  driver_start (char **name)
249  {  {
250    error_t err = 0;    error_t err = 0;
251    unsigned int i;    int i;
252      
253    mutex_lock (&driver_list_lock);    mutex_lock (&driver_list_lock);
254    for (i = 0; i < driver_list_len; i++)    for (i = 0; i < driver_list_len; i++)
255      {      {
# Line 304  error_t driver_remove (const char *const Line 304  error_t driver_remove (const char *const
304    return ESRCH;    return ESRCH;
305  }  }
306    
   
307  #define ADD_REMOVE_COMPONENT(component)                                 \  #define ADD_REMOVE_COMPONENT(component)                                 \
308  struct mutex component##_list_lock;                                     \  struct mutex component##_list_lock;                                     \
309  component##_t component##_list;                                         \  component##_t component##_list;                                         \

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26