/[pspp]/psppire/src/stubs.c
ViewVC logotype

Diff of /psppire/src/stubs.c

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

revision 1.4 by jmd, Thu Nov 3 08:34:56 2005 UTC revision 1.5 by jmd, Sat Nov 12 07:52:06 2005 UTC
# Line 1  Line 1 
1  #include <stdio.h>  #include <stdio.h>
2  #include <stdarg.h>  #include <stdarg.h>
3    #include "settings.h"
4    
5  void  void
6  err_assert_fail(const char *expr, const char *file, int line)  err_assert_fail(const char *expr, const char *file, int line)
# Line 48  err_location() Line 49  err_location()
49  }  }
50    
51    
52    struct error;
53    
54  void  void
55  err_vmsg (const struct error *e, const char *format, va_list args)  err_vmsg (const struct error *e, const char *format, va_list args)
56  {  {
# Line 83  get_epoch (void) Line 86  get_epoch (void)
86  {  {
87    return 2000 - 69;    return 2000 - 69;
88  }  }
89    
90    
91    static struct set_cust_currency set_cc[5];
92    
93    const struct set_cust_currency *
94    get_cc(int i)
95    {
96      return &set_cc[i];
97    }
98    
99    
100    
101    /* Puts the current file and line number in *FN and *LN, respectively,
102       or NULL and -1 if none. */
103    void
104    getl_location (const char **fn, int *ln)
105    {
106      if (fn != NULL)
107        *fn = 0;
108      if (ln != NULL)
109        *ln = 0;
110    }

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