summaryrefslogtreecommitdiff
path: root/src/tet3/dtet2lib/genfatal.c
AgeCommit message (Collapse)AuthorFilesLines
2010-04-20tet: Add change notifications to comply with the annoying terms of the ↵Aaron Plattner1-1/+4
'Artistic' license. From the license: 3. You may otherwise modify your copy of this Package in any way, provided that you **insert a prominent notice in each changed file stating how and when you changed that file**, and provided that you do at least ONE of the following: [...] (emphasis mine) Most, but not all, of the files in src/tet3 do not have the X11 license at the top and so are covered by this clause. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-19tet: Fix the remaining warnings.Aaron Plattner1-1/+1
Add a TET_NORETURN attribute and tag various fatal functions with it. That fixes a few "int x; switch(...) { case C: x = blah; break; default: fatal() }" cases that result in uninitialized variable warnings. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-18tet: Fix "srcFile defined but not used" warnings.Aaron Plattner1-4/+1
These global arrays are used by the error-reporting macros to define the source file. I guess it's because using __FILE__ everywhere generated tons of copies of the file path in .data on ancient compilers. Nowadays, they end up with only one copy in .rodata. To facilitate that, make the arguments to the error reporting functions const. Propagate constness to eliminate additional warnings. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2010-04-18tet: Fix "sccsid defined but not used" warnings.Aaron Plattner1-4/+0
For example: addarg.c:18: error: ‘sccsid’ defined but not used These strings are seriously outdated, unused, and cause warnings. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-06-24Add config.h headers to all C files and mc stubsDan Nicholson1-0/+4
This should allow the autoconf defines to be used consistently.
2005-10-31Importing TET 3.3h (unsupported) sources from ↵jamey1-0/+67
http://tetworks.opengroup.org/tet/tet3.3h-unsup.src.tgz. Omitted the contrib directory: we don't care, and the license situation wasn't entirely clear.