mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-27 08:10:07 +08:00
038d861ede
- Remove obsolete types like "uint32"; use "uint32_t" consistently. - Make sure we include <inttypes.h> where needed. - Header file guards should be FOO_H or SUBDIR_FOO_H; _FOO_H infringes on the C implementation's namespace and should only be used when writing libc! - Change a few "int8_t" back to "char" where appropriate. There are a lot more places where that should be done, though. - Clean up the check for getuid/getgid in rdoff/rdlar.h.
14 lines
330 B
C
14 lines
330 B
C
#ifndef RDOFF_SEGTAB_H
|
|
#define RDOFF_SEGTAB_H 1
|
|
|
|
#include <inttypes.h>
|
|
|
|
typedef void *segtab;
|
|
|
|
void init_seglocations(segtab * r);
|
|
void add_seglocation(segtab * r, int localseg, int destseg, int32_t offset);
|
|
int get_seglocation(segtab * r, int localseg, int *destseg, int32_t *offset);
|
|
void done_seglocations(segtab * r);
|
|
|
|
#endif
|