Made internal functions static.

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@664 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2004-04-17 07:24:22 +00:00
parent 86da022558
commit 7bd9d6e162
2 changed files with 10 additions and 10 deletions

View File

@ -38,7 +38,7 @@ static WAVEFORMATEX formats[MAX_FORMATS];
static unsigned int format_count; static unsigned int format_count;
static unsigned int current_format; static unsigned int current_format;
STREAM static STREAM
rdpsnd_init_packet(uint16 type, uint16 size) rdpsnd_init_packet(uint16 type, uint16 size)
{ {
STREAM s; STREAM s;
@ -49,7 +49,7 @@ rdpsnd_init_packet(uint16 type, uint16 size)
return s; return s;
} }
void static void
rdpsnd_send(STREAM s) rdpsnd_send(STREAM s)
{ {
#ifdef RDPSND_DEBUG #ifdef RDPSND_DEBUG
@ -73,7 +73,7 @@ rdpsnd_send_completion(uint16 tick, uint8 packet_index)
rdpsnd_send(s); rdpsnd_send(s);
} }
void static void
rdpsnd_process_negotiate(STREAM in) rdpsnd_process_negotiate(STREAM in)
{ {
unsigned int in_format_count, i; unsigned int in_format_count, i;
@ -156,7 +156,7 @@ rdpsnd_process_negotiate(STREAM in)
rdpsnd_send(out); rdpsnd_send(out);
} }
void static void
rdpsnd_process_unknown6(STREAM in) rdpsnd_process_unknown6(STREAM in)
{ {
uint16 unknown1, unknown2; uint16 unknown1, unknown2;
@ -173,7 +173,7 @@ rdpsnd_process_unknown6(STREAM in)
rdpsnd_send(out); rdpsnd_send(out);
} }
void static void
rdpsnd_process(STREAM s) rdpsnd_process(STREAM s)
{ {
uint8 type; uint8 type;

View File

@ -76,7 +76,7 @@
extern RDPDR_DEVICE g_rdpdr_device[]; extern RDPDR_DEVICE g_rdpdr_device[];
SERIAL_DEVICE * static SERIAL_DEVICE *
get_serial_info(HANDLE handle) get_serial_info(HANDLE handle)
{ {
int index; int index;
@ -89,7 +89,7 @@ get_serial_info(HANDLE handle)
return NULL; return NULL;
} }
BOOL static BOOL
get_termios(SERIAL_DEVICE * pser_inf, HANDLE serial_fd) get_termios(SERIAL_DEVICE * pser_inf, HANDLE serial_fd)
{ {
speed_t speed; speed_t speed;
@ -392,7 +392,7 @@ serial_enum_devices(uint32 * id, char *optarg)
return count; return count;
} }
NTSTATUS static NTSTATUS
serial_create(uint32 device_id, uint32 access, uint32 share_mode, uint32 disposition, serial_create(uint32 device_id, uint32 access, uint32 share_mode, uint32 disposition,
uint32 flags_and_attributes, char *filename, HANDLE * handle) uint32 flags_and_attributes, char *filename, HANDLE * handle)
{ {
@ -452,7 +452,7 @@ serial_close(HANDLE handle)
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
NTSTATUS static NTSTATUS
serial_read(HANDLE handle, uint8 * data, uint32 length, uint32 offset, uint32 * result) serial_read(HANDLE handle, uint8 * data, uint32 length, uint32 offset, uint32 * result)
{ {
long timeout; long timeout;
@ -499,7 +499,7 @@ serial_read(HANDLE handle, uint8 * data, uint32 length, uint32 offset, uint32 *
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
NTSTATUS static NTSTATUS
serial_write(HANDLE handle, uint8 * data, uint32 length, uint32 offset, uint32 * result) serial_write(HANDLE handle, uint8 * data, uint32 length, uint32 offset, uint32 * result)
{ {
*result = write(handle, data, length); *result = write(handle, data, length);