aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog11
-rw-r--r--src/lib/XDither.c4
-rw-r--r--src/lib/XShade.c4
-rw-r--r--src/lib/XSpadFill.c4
-rw-r--r--src/lib/bsdsignal.c8
-rw-r--r--src/lib/edin.c6
-rw-r--r--src/lib/fnct_key.c6
-rw-r--r--src/lib/util.c8
-rw-r--r--src/lib/wct.c10
9 files changed, 27 insertions, 34 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 06a75817..7dc5e9a1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
+2009-09-20 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * lib/XDither.c: Tidy.
+ * lib/XShade.c: Likewise.
+ * lib/XSpadFill.c: Likewise.
+ * lib/bsdsignal.c: Likewise.
+ * lib/edin.c: Likewise.
+ * lib/fnct_key.c: Likewise.
+ * lib/util.c: Likewise.
+ * lib/wct.c: Likewise.
+
2009-09-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
* boot/tokens.boot: "has" is not a keyword.
diff --git a/src/lib/XDither.c b/src/lib/XDither.c
index a16473ae..e3c15df0 100644
--- a/src/lib/XDither.c
+++ b/src/lib/XDither.c
@@ -1,6 +1,8 @@
/*
Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
All rights reserved.
+ Copyright (C) Gabriel Dos Reis.
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -32,7 +34,6 @@
*/
#include "openaxiom-c-macros.h"
-#ifndef MSYSplatform
#include <stdio.h>
#include <stdlib.h>
@@ -226,4 +227,3 @@ XDitherArcs(Display *display,Drawable drawable, GC gc, XArc *arcs,int narcs)
}
XFillArcs(display, drawable, gc, arcs, narcs);
}
-#endif /* MSYSplatform */
diff --git a/src/lib/XShade.c b/src/lib/XShade.c
index 8c7b6d2f..4cc052c5 100644
--- a/src/lib/XShade.c
+++ b/src/lib/XShade.c
@@ -1,6 +1,8 @@
/*
Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
All rights reserved.
+ Copyright (C) Gabriel Dos Reis.
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -32,7 +34,6 @@
*/
#include "openaxiom-c-macros.h"
-#ifndef MSYSplatform
#include <stdio.h>
#include <stdlib.h>
@@ -207,5 +208,4 @@ XShadeArcs(Display *display, Drawable drawable, XArc *arcs, int narcs)
XFillArcs(display, drawable, TileGC, arcs, narcs);
}
-#endif /* MSYSplatform */
diff --git a/src/lib/XSpadFill.c b/src/lib/XSpadFill.c
index f71a861c..1487d95b 100644
--- a/src/lib/XSpadFill.c
+++ b/src/lib/XSpadFill.c
@@ -1,6 +1,8 @@
/*
Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
All rights reserved.
+ Copyright (C) Gabriel Dos Reis.
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -48,7 +50,6 @@
#include "openaxiom-c-macros.h"
-#ifndef MSYSplatform
#include <stdio.h>
#include <stdlib.h>
@@ -296,5 +297,4 @@ XSpadFillArcs(Display *dsply, Drawable drawable,XArc *arcs, int narcs,
}
-#endif /* MSYSplatform */
diff --git a/src/lib/bsdsignal.c b/src/lib/bsdsignal.c
index 86c2b068..7cb3195c 100644
--- a/src/lib/bsdsignal.c
+++ b/src/lib/bsdsignal.c
@@ -1,6 +1,8 @@
/*
Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
All rights reserved.
+ Copyright (C) Gabriel Dos Reis.
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -32,13 +34,7 @@
*/
#include "openaxiom-c-macros.h"
-
-#if defined(MACOSXplatform)
-#include "/usr/include/signal.h"
-#else
#include <signal.h>
-#endif
-
#include "bsdsignal.h"
OPENAXIOM_EXPORT SignalHandlerFunc
diff --git a/src/lib/edin.c b/src/lib/edin.c
index 2e313a6a..ae4a3c0d 100644
--- a/src/lib/edin.c
+++ b/src/lib/edin.c
@@ -1,6 +1,8 @@
/*
Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
All rights reserved.
+ Copyright (C) Gabriel Dos Reis.
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -35,11 +37,7 @@
#include <stdlib.h>
#include "openaxiom-c-macros.h"
-#if defined(MACOSXplatform)
-#include "/usr/include/unistd.h"
-#else
#include <unistd.h>
-#endif
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
diff --git a/src/lib/fnct_key.c b/src/lib/fnct_key.c
index b125fbca..d880a133 100644
--- a/src/lib/fnct_key.c
+++ b/src/lib/fnct_key.c
@@ -1,6 +1,8 @@
/*
Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
All rights reserved.
+ Copyright (C) Gabriel Dos Reis.
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -32,11 +34,7 @@
*/
#include "openaxiom-c-macros.h"
-#if defined(MACOSXplatform)
-#include "/usr/include/unistd.h"
-#else
#include <unistd.h>
-#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/lib/util.c b/src/lib/util.c
index b4946858..47362f7e 100644
--- a/src/lib/util.c
+++ b/src/lib/util.c
@@ -1,6 +1,8 @@
/*
Copyright (c) 1991-2002, The Numerical Algorithms Group Ltd.
All rights reserved.
+ Copyright (C) Gabriel Dos Reis.
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -32,13 +34,7 @@
*/
#include "openaxiom-c-macros.h"
-
-#include <stdlib.h>
-#if defined(MACOSXplatform)
-#include "/usr/include/unistd.h"
-#else
#include <unistd.h>
-#endif
#include <sys/types.h>
#include <stdio.h>
#include <errno.h>
diff --git a/src/lib/wct.c b/src/lib/wct.c
index 03568d63..0466d84b 100644
--- a/src/lib/wct.c
+++ b/src/lib/wct.c
@@ -1,6 +1,8 @@
/*
Copyright (c) 1991-2002, The Numerical ALgorithms Group Ltd.
All rights reserved.
+ Copyright (C) Gabriel Dos Reis.
+ All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
@@ -43,18 +45,10 @@
#include <stdio.h>
#include <stdlib.h>
-#if defined(MACOSXplatform)
-#include "/usr/include/unistd.h"
-#else
#include <unistd.h>
-#endif
#include <string.h>
#include <fcntl.h>
-#if defined(MACOSXplatform)
-#include "/usr/include/time.h"
-#else
#include <time.h>
-#endif
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>