File: error.h

package info (click to toggle)
vic 2.8ucl4-2
  • links: PTS
  • area: main
  • in suites: potato
  • size: 5,864 kB
  • ctags: 9,033
  • sloc: ansic: 56,989; cpp: 44,560; tcl: 5,550; sh: 1,382; perl: 1,329; makefile: 357
file content (10 lines) | stat: -rw-r--r-- 207 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#ifndef _ERROR_
#define _ERROR_

#include <stdio.h>

void error (char *name, int line, char *comment);
#define FATAL(why) error(__FILE__,__LINE__,why)
#define WARING(why) warn(__FILE__,__LINE__,why)

#endif