/[pupa]/pupa/util/misc.c
ViewVC logotype

Diff of /pupa/util/misc.c

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

revision 1.3 by okuji, Fri Jan 31 03:26:56 2003 UTC revision 1.4 by marco_g, Wed Nov 12 20:33:52 2003 UTC
# Line 1  Line 1 
1  /*  /*
2   *  PUPA  --  Preliminary Universal Programming Architecture for GRUB   *  PUPA  --  Preliminary Universal Programming Architecture for GRUB
3   *  Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org>   *  Copyright (C) 2002,2003 Yoshinori K. Okuji <okuji@enbug.org>
4     *  Copyright (C) 2003 Marco Gerards <metgerards@student.han.nl>
5   *   *
6   *  PUPA is free software; you can redistribute it and/or modify   *  PUPA is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 23  Line 24 
24  #include <string.h>  #include <string.h>
25  #include <sys/types.h>  #include <sys/types.h>
26  #include <sys/stat.h>  #include <sys/stat.h>
27    #include <sys/times.h>
28    
29  #include <pupa/util/misc.h>  #include <pupa/util/misc.h>
30  #include <pupa/mm.h>  #include <pupa/mm.h>
# Line 198  pupa_putchar (int c) Line 200  pupa_putchar (int c)
200  {  {
201    putchar (c);    putchar (c);
202  }  }
203    
204    pupa_uint32_t
205    pupa_get_rtc (void)
206    {
207      struct tms currtime;
208    
209      return times (&currtime);
210    }

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

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