summaryrefslogtreecommitdiffstats
path: root/cups
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-08-18 10:38:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-08-18 10:38:50 +0000
commitb2622e897b972a8a8e467f3f08ec6abd33034a25 (patch)
treeb95fedc12af64ecab105b17c067aaeceb6693410 /cups
parentb9817e90f1fd86d2c263ba37334744dbd8483589 (diff)
Print a dummy device list when called with no arguments
Diffstat (limited to 'cups')
-rw-r--r--cups/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cups/main.c b/cups/main.c
index c6e1deb8..a8a01d4c 100644
--- a/cups/main.c
+++ b/cups/main.c
@@ -49,10 +49,6 @@ int sdp_search_hcrp(sdp_session_t *sdp, unsigned short *ctrl_psm, unsigned short
int spp_print(bdaddr_t *src, bdaddr_t *dst, uint8_t channel, int fd, int copies);
int hcrp_print(bdaddr_t *src, bdaddr_t *dst, unsigned short ctrl_psm, unsigned short data_psm, int fd, int copies);
-static void list_devices(void)
-{
-}
-
/*
* Usage: printer-uri job-id user title copies options [file]
*
@@ -82,7 +78,7 @@ int main(int argc, char *argv[])
#endif /* HAVE_SIGSET */
if (argc == 1) {
- list_devices();
+ puts("network bluetooth \"Unknown\" \"Bluetooth printer\"");
return 0;
}