diff options
Diffstat (limited to 'usr/src/cmd/bhyve/rfb.h')
| -rw-r--r-- | usr/src/cmd/bhyve/rfb.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/usr/src/cmd/bhyve/rfb.h b/usr/src/cmd/bhyve/rfb.h index f779b0a5df..b0667f5994 100644 --- a/usr/src/cmd/bhyve/rfb.h +++ b/usr/src/cmd/bhyve/rfb.h @@ -3,7 +3,7 @@ * * Copyright (c) 2015 Tycho Nightingale <tycho.nightingale@pluribusnetworks.com> * Copyright 2018 Joyent, Inc. - * Copyright 2021 OmniOS Community Edition (OmniOSce) Association. + * Copyright 2022 OmniOS Community Edition (OmniOSce) Association. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -33,15 +33,9 @@ #ifndef _RFB_H_ #define _RFB_H_ -#define RFB_PORT 5900 +#define RFB_DEFAULT_PORT 5900 -#ifndef __FreeBSD__ -int rfb_init(char *hostname, int port, int wait, char *password, +int rfb_init(char *hostname, int port, int wait, const char *password, const char *name); -int rfb_init_unix(const char *path, int wait, char *password, - const char *name); -#else -int rfb_init(char *hostname, int port, int wait, char *password); -#endif #endif /* _RFB_H_ */ |
