]> andersk Git - moira.git/blame - lib/gdss_convert.c
define strlcpy/strlcat (if needed)
[moira.git] / lib / gdss_convert.c
CommitLineData
fa59b86f 1/* $Id$
6565f81f 2 *
3 * Convert from GDSS error codes to com_err error codes
7ac48069 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>.
6565f81f 8 */
9
7ac48069 10#include <mit-copyright.h>
11#include <moira.h>
12
6565f81f 13#include <gdss_et.h>
14
7ac48069 15RCSID("$Header$");
16
5eaef520 17int gdss2et(int code)
6565f81f 18{
5eaef520 19 if (code == 0)
20 return code;
21 return ERROR_TABLE_BASE_gdss - code - 1;
6565f81f 22}
This page took 0.115228 seconds and 5 git commands to generate.