summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/devices/net_lib.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-10-06 23:50:13 +0200
committer couriersud <couriersud@gmx.org>2019-10-06 23:50:13 +0200
commit545f8069ef6d0095464479f4f90d3c7240d96a37 (patch)
treee6881a9ea485e5a38b13f143634831ddad2b83d0 /src/lib/netlist/devices/net_lib.cpp
parent38fd19fe301c3be1cb7942ca4272687928ddf4e6 (diff)
netlist: maintenance and lint fixes. (nw)
Diffstat (limited to 'src/lib/netlist/devices/net_lib.cpp')
-rw-r--r--src/lib/netlist/devices/net_lib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/devices/net_lib.cpp b/src/lib/netlist/devices/net_lib.cpp
index 1e2ff8aae09..d13f3271135 100644
--- a/src/lib/netlist/devices/net_lib.cpp
+++ b/src/lib/netlist/devices/net_lib.cpp
@@ -16,7 +16,7 @@
#define xstr(s) # s
#define NETLIB_DEVICE_DECL(chip) extern factory::constructor_ptr_t decl_ ## chip
-#define LIB_DECL(nic, decl) factory.register_device( decl ( pstring(xstr(nic))) );
+#define LIB_DECL(nic, decl) factory.register_device( decl ( xstr(nic)) );
#define LIB_ENTRY(nic) { NETLIB_DEVICE_DECL(nic); LIB_DECL(NETLIB_NAME(nic), decl_ ## nic) }
namespace netlist