提交 22f9754f 编写于 作者: J Ján Tomko

mark virDomainVirtioSerialAddrSetAddController as static.

This function is no longer used outside domain_addr.c
上级 36d7a361
...@@ -825,7 +825,7 @@ virDomainVirtioSerialAddrFindController(virDomainVirtioSerialAddrSetPtr addrs, ...@@ -825,7 +825,7 @@ virDomainVirtioSerialAddrFindController(virDomainVirtioSerialAddrSetPtr addrs,
* Adds virtio serial ports of the existing controller * Adds virtio serial ports of the existing controller
* to the address set. * to the address set.
*/ */
int static int
virDomainVirtioSerialAddrSetAddController(virDomainVirtioSerialAddrSetPtr addrs, virDomainVirtioSerialAddrSetAddController(virDomainVirtioSerialAddrSetPtr addrs,
virDomainControllerDefPtr cont) virDomainControllerDefPtr cont)
{ {
......
...@@ -206,10 +206,6 @@ typedef virDomainVirtioSerialAddrSet *virDomainVirtioSerialAddrSetPtr; ...@@ -206,10 +206,6 @@ typedef virDomainVirtioSerialAddrSet *virDomainVirtioSerialAddrSetPtr;
virDomainVirtioSerialAddrSetPtr virDomainVirtioSerialAddrSetPtr
virDomainVirtioSerialAddrSetCreate(void); virDomainVirtioSerialAddrSetCreate(void);
int int
virDomainVirtioSerialAddrSetAddController(virDomainVirtioSerialAddrSetPtr addrs,
virDomainControllerDefPtr cont)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
int
virDomainVirtioSerialAddrSetAddControllers(virDomainVirtioSerialAddrSetPtr addrs, virDomainVirtioSerialAddrSetAddControllers(virDomainVirtioSerialAddrSetPtr addrs,
virDomainDefPtr def) virDomainDefPtr def)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2); ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2);
......
...@@ -111,7 +111,6 @@ virDomainVirtioSerialAddrAutoAssign; ...@@ -111,7 +111,6 @@ virDomainVirtioSerialAddrAutoAssign;
virDomainVirtioSerialAddrIsComplete; virDomainVirtioSerialAddrIsComplete;
virDomainVirtioSerialAddrRelease; virDomainVirtioSerialAddrRelease;
virDomainVirtioSerialAddrReserve; virDomainVirtioSerialAddrReserve;
virDomainVirtioSerialAddrSetAddController;
virDomainVirtioSerialAddrSetAddControllers; virDomainVirtioSerialAddrSetAddControllers;
virDomainVirtioSerialAddrSetCreate; virDomainVirtioSerialAddrSetCreate;
virDomainVirtioSerialAddrSetFree; virDomainVirtioSerialAddrSetFree;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册