aboutsummaryrefslogtreecommitdiff
path: root/unix/gdev/sgidev/sgiUtil.h
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /unix/gdev/sgidev/sgiUtil.h
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/gdev/sgidev/sgiUtil.h')
-rw-r--r--unix/gdev/sgidev/sgiUtil.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/unix/gdev/sgidev/sgiUtil.h b/unix/gdev/sgidev/sgiUtil.h
new file mode 100644
index 00000000..9630a03e
--- /dev/null
+++ b/unix/gdev/sgidev/sgiUtil.h
@@ -0,0 +1,10 @@
+/**
+ * SGIUTIL.H -- Declarations for the SGI utility routines.
+ */
+
+void bswap2 (unsigned char *a, unsigned char *b, int nbytes);
+void bswap4 (unsigned char *a, unsigned char *b, int nbytes);
+
+int isSwapped (void);
+
+int get_iarg (char argp, char **argv, int argno, int def_val);