openbsd-ports/net/netatalk/patches/patch-binmegatron-megatronh

42 lines
1.1 KiB
Plaintext

--- bin/megatron/megatron.h.orig Fri Oct 8 16:29:41 1999
+++ bin/megatron/megatron.h Fri Oct 8 16:33:00 1999
@@ -27,20 +27,20 @@
#define CONVERTS 7 /* # conversions defined */
struct FInfo {
- long fdType;
- long fdCreator;
- short fdFlags;
- long fdLocation;
- short fdFldr;
+ int32_t fdType;
+ int32_t fdCreator;
+ int16_t fdFlags;
+ int32_t fdLocation;
+ int16_t fdFldr;
};
struct FHeader {
char name[ NAMESIZ ];
char comment[ COMMENTSIZ ];
- long forklen[ NUMFORKS ];
- u_long create_date;
- u_long mod_date;
- u_long backup_date;
+ int32_t forklen[ NUMFORKS ];
+ u_int32_t create_date;
+ u_int32_t mod_date;
+ u_int32_t backup_date;
struct FInfo finder_info;
};
@@ -68,3 +68,8 @@
#ifndef S_ISDIR
# define S_ISDIR(s) (( s & S_IFMT ) == S_IFDIR )
#endif
+
+extern int hqx_open(), hqx_close(), hqx_read(), hqx_write();
+extern int bin_open(), bin_close(), bin_read(), bin_write();
+extern int nad_open(), nad_close(), nad_read(), nad_write();
+extern int single_open(), single_close(), single_read(), single_write();