suitcase

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

leapsecs_init.c (171B)


      1 #include <tai/leapsecs.h>
      2 
      3 static int flaginit = 0;
      4 
      5 int leapsecs_init()
      6 {
      7   if (flaginit) return 0;
      8   if (leapsecs_read() == -1) return -1;
      9   flaginit = 1;
     10   return 0;
     11 }