From b2622e897b972a8a8e467f3f08ec6abd33034a25 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 18 Aug 2004 10:38:50 +0000 Subject: Print a dummy device list when called with no arguments --- cups/main.c | 6 +----- 1 file changed, 1 insertion(+), 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; } -- cgit