]> andersk Git - moira.git/blob - lib/gdss_convert.c
define strlcpy/strlcat (if needed)
[moira.git] / lib / gdss_convert.c
1 /* $Id$
2  *
3  * Convert from GDSS error codes to com_err error codes
4  *
5  * Copyright (C) 1987-1998 by the Massachusetts Institute of Technology
6  * For copying and distribution information, please see the file
7  * <mit-copyright.h>.
8  */
9
10 #include <mit-copyright.h>
11 #include <moira.h>
12
13 #include <gdss_et.h>
14
15 RCSID("$Header$");
16
17 int gdss2et(int code)
18 {
19   if (code == 0)
20     return code;
21   return ERROR_TABLE_BASE_gdss - code - 1;
22 }
This page took 0.197896 seconds and 5 git commands to generate.